[Haskell-cafe] Re: Allowing hyphens in identifiers
matthew.pocock at ncl.ac.uk
Sat Dec 12 10:25:55 EST 2009
> x <- take_while some_condition some_list
> x <- takeWhile someCondition someList
x <- take-while some-condition some-list
As someone who is dyslexic, I find both camelCase and dashes far easier to
read than underscores. I find it hard to count the words in the underscore
version - the underscores and spaces confuse me. Dashes do not, presumably
because they are 'within' the line of sight for the letters.
However, I can't help feeling that if we use good IDEs, we could
'internationalize' identifiers into english/french/chinese/camel/dash or
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe