etherial (
etherial
) wrote
2008
-
01
-
29
12:24 pm
Current Mood:
thoughtful
Current Music:
Liar, Liar - A Fine Frenzy
A Quick Poll
[
Poll #1129374
]
Threaded
|
Flat
Underscores may be easier to read, but...
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.
Re: Underscores may be easier to read, but...
etherial.livejournal.com
-
2008-01-29 14:42 (UTC)
-
Expand
Re: Underscores may be easier to read, but...
rosinavs.livejournal.com
-
2008-01-29 15:02 (UTC)
-
Expand
no subject
nyren.livejournal.com
2008-01-29 03:02 pm (UTC)
(
link
)
MY.WORKPLACE.USES.dots.and.capitalization
no subject
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.
(no subject)
etherial.livejournal.com
-
2008-01-29 15:06 (UTC)
-
Expand
(no subject)
nerdx111.livejournal.com
-
2008-01-29 18:45 (UTC)
-
Expand
no subject
(Anonymous)
2008-01-29 03:41 pm (UTC)
(
link
)
I prefer underscores_all_lowercase, although I do use BumpyCase for the names of classes.
(no subject)
agthorr.livejournal.com
-
2008-01-29 15:42 (UTC)
-
Expand
no subject
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
no subject
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.
no subject
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.
no subject
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.
(no subject)
etherial.livejournal.com
-
2008-01-30 02:42 (UTC)
-
Expand
(no subject)
juldea.livejournal.com
-
2008-01-30 12:49 (UTC)
-
Expand
15 comments
Post a new comment
Threaded
|
Flat
[
Home
|
Post Entry
|
Log in
|
Search
|
Browse Options
|
Site Map
]
Underscores may be easier to read, but...
Re: Underscores may be easier to read, but...
Re: Underscores may be easier to read, but...
no subject
no subject
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.
(no subject)
(no subject)
no subject
(Anonymous) 2008-01-29 03:41 pm (UTC)(link)(no subject)
no subject
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
no subject
no subject
no subject
(no subject)
(no subject)