[Haskell-cafe] Re: Allowing hyphens in identifiers

Matthew Pocock matthew.pocock at ncl.ac.uk
Sat Dec 12 10:25:55 EST 2009


> x <- take_while some_condition some_list
>
> and
>
> 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
whatever.

Matthew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20091212/06dc1028/attachment.html


More information about the Haskell-Cafe mailing list