CamelCase versus wide_names (Prothon)

Jarek Zgoda jzgoda at gazeta.usun.pl
Thu Apr 15 15:29:14 EDT 2004


Mark Hahn <mark at prothon.org> pisze:

> 1) CamelCase is more elegant, modern, more readable, and more efficient in
> character usage.

I use CamelCase in my ObjectPascal (Delphi, FP) code. Looks really good,
but it's Pascal.

> 2) Wide_names is cleaner, more readable, compatible with C, which is the
> standard module language for Python and Prothon.  Wide_names is also the
> Python standard.

I don't like underscores. I know, it's my problem. ;)

> Of course in the Python world you alread have wide_names as your standard,
> but could you for the moment pretend you were picking your standard from
> scratch (as we are doing in the Prothon world) and give your vote for which
> you'd prefer?

mixedCase, like in Java (sorry). This convention makes clean distinction
between objects and classes. I like it. Am I crazy? Yes, I am. ;)

-- 
Jarek Zgoda
http://jpa.berlios.de/



More information about the Python-list mailing list