etherial: St. Basil's Cathedral, Moscow (St. Basil's)
etherial ([personal profile] etherial) wrote2008-01-29 12:24 pm

Underscores may be easier to read, but...

[identity profile] anitra.livejournal.com 2008-01-29 02:35 pm (UTC)(link)
I still use CamelCase. It's easier to type than using lots of underscores.

[identity profile] nyren.livejournal.com 2008-01-29 03:02 pm (UTC)(link)
MY.WORKPLACE.USES.dots.and.capitalization

[identity profile] aleksandyr.livejournal.com 2008-01-29 03:03 pm (UTC)(link)
thisIsCamelCase, ThisIsPascalCase. :)

I alternate between them: in most languages, I use PascalCase to handle classes/methods and then camelCase for parameters/variables.

Underscores and CAPITAL_LETTERS are what I use for constants.

(Anonymous) 2008-01-29 03:41 pm (UTC)(link)
I prefer underscores_all_lowercase, although I do use BumpyCase for the names of classes.

[identity profile] stillking.livejournal.com 2008-01-29 04:12 pm (UTC)(link)

this is pretty much generational -- the old C programmers like lower_case_syntax, whereas newer C++/Java/Hungarian folks preferItThisWay OrEvenThisWay. i happen to belong to the former camp.

-- sven

[identity profile] neuromancerzss.livejournal.com 2008-01-29 06:49 pm (UTC)(link)
Readability is not the only measure of a naming convention, though it does seem like your point was actually specifically about readability.

[identity profile] londo.livejournal.com 2008-01-29 07:04 pm (UTC)(link)
I used to use camelCase, but sometime in the past couple years switched to with_underscores without any observable stimulus.

[identity profile] juldea.livejournal.com 2008-01-29 09:38 pm (UTC)(link)
Underscores are easier to read, but I admit they're painful to look at and type.