Peter McKenna wrote:

In spite of programmers' fondness for non-alphabetical characters, surely
fooBarBaz is more readable than foo_bar_baz?!

Are you serious?
fooBarBaz has the shape of a single strangely capitalized word.
Finding where each word begins and ends is far from obvious.
As said in other post, the shape is important, so spacing is important: underscore is the better way to keep spacing while getting the compiler job done easily.


Humans - even programmers -
are more accustomed to reading words without underscores (which are not
always easy to see anyway).

Note also that some emacs programming mode display underscores within identifier as spaces.
But i don't think emacs mode guessing where to add spaces in identifiers like fooBarBaz exists. Could be funny with acronyms :-)


Besides, fooBarBaz has two fewer characters to
type!


Yes, but trying to spare keystrokes leads to the most unreadable langages, this is the root of all evil! :-)

--
Lionel Draghi                        http://swpat.ffii.org/index.fr.html



----------------------------------------------------------------------
PPIG Discuss List ([EMAIL PROTECTED])
Discuss admin: http://limitlessmail.net/mailman/listinfo/discuss
Announce admin: http://limitlessmail.net/mailman/listinfo/announce
PPIG Discuss archive: http://www.mail-archive.com/discuss%40ppig.org/

Reply via email to