Empirical proof that underscores are good
-
i_have_always_preferred_this_style ToCamelOrPascalOne and now there is a study that confirms my point of view[^] :cool:
-
i_have_always_preferred_this_style ToCamelOrPascalOne and now there is a study that confirms my point of view[^] :cool:
-
i_have_always_preferred_this_style ToCamelOrPascalOne and now there is a study that confirms my point of view[^] :cool:
-
i_have_always_preferred_this_style ToCamelOrPascalOne and now there is a study that confirms my point of view[^] :cool:
Quote:
One main difference is that subjects were trained mainly in the underscore style and were all programmers. While results indicate no difference in accuracy between the two styles, subjects recognize identifiers in the underscore style more quickly.
[sarcasm] So its a non-biased study then? [/end sarcasm]
-
If_You_Have_A_Name_That_Complicated_Then_You_Should_Consider_That_A_Warning_Sign_And_Change_Something
If it moves, compile it
-
i_have_always_preferred_this_style ToCamelOrPascalOne and now there is a study that confirms my point of view[^] :cool:
How about camel with underscores? Example:
Top_Message_List
:-DRegards, Nish
Blog: voidnish.wordpress.com Latest article: C++ 11 features in Visual C++ 2013 Preview
-
loctrice wrote:
If_You_Have_A_Name_That_Complicated_Then_You_Should_Consider_That_A_Warning_Sign_And_Change_Something
Translation: IfYouHaveANameThatComplicatedThenYouShouldConsiderThatAWarningSignAndChangeSomething
Those both look like COBOL names
-
How about camel with underscores? Example:
Top_Message_List
:-DRegards, Nish
Blog: voidnish.wordpress.com Latest article: C++ 11 features in Visual C++ 2013 Preview
-
loctrice wrote:
Isn't that title case ?
It's camel uppercase (or pascal / title case).
Regards, Nish
Blog: voidnish.wordpress.com Latest article: C++ 11 features in Visual C++ 2013 Preview
-
How about camel with underscores? Example:
Top_Message_List
:-DRegards, Nish
Blog: voidnish.wordpress.com Latest article: C++ 11 features in Visual C++ 2013 Preview
-
This gets my vote for readability! :) The only downside is keyboard efficiency, but most of us only type a variable name once...the rest is auto-complete or copy/paste, so hardly a factor.
"Go forth into the source" - Neal Morse
Yeah, it's quite readable, isn't it? :-) And I agree, auto-complete means not having to type and re-type this all over the place!
Regards, Nish
Blog: voidnish.wordpress.com Latest article: C++ 11 features in Visual C++ 2013 Preview
-
Quote:
One main difference is that subjects were trained mainly in the underscore style and were all programmers. While results indicate no difference in accuracy between the two styles, subjects recognize identifiers in the underscore style more quickly.
[sarcasm] So its a non-biased study then? [/end sarcasm]
-
:thumbsup: It's nice they put that right there in the intro. No need to read through the study then. :-\ Soren Madsen
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty
-
"And in other breaking news studies, the University of Obvious found that people who's native language is English can pick out English phrases in German sentences better than German phrases".
-
This gets my vote for readability! :) The only downside is keyboard efficiency, but most of us only type a variable name once...the rest is auto-complete or copy/paste, so hardly a factor.
"Go forth into the source" - Neal Morse
Will you sod off with your dammed logic that just killed my main argument (keyboard and intellisense) against underscores, I hate the bloody things and growl at any of the devs that employ them.
Never underestimate the power of human stupidity RAH
-
Will you sod off with your dammed logic that just killed my main argument (keyboard and intellisense) against underscores, I hate the bloody things and growl at any of the devs that employ them.
Never underestimate the power of human stupidity RAH
-
i_have_always_preferred_this_style ToCamelOrPascalOne and now there is a study that confirms my point of view[^] :cool:
Stop wanking and start doing real work! :zzz: Next you'll bother us about {} instead of { } I wonder if there ever was something more pointless? Maybe it's what you argue about when your work doesn't matter, I suppose?!
My programming get away... The Blog... DirectX for WinRT/C# since 2013! Taking over the world since 1371!
-
:thumbsup: It's nice they put that right there in the intro. No need to read through the study then. :-\ Soren Madsen
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty
And even better that Ron had put it here, so I would no longer need to open the link.
Signature construction in progress. Sorry for the inconvenience.
-
i_have_always_preferred_this_style ToCamelOrPascalOne and now there is a study that confirms my point of view[^] :cool:
And somebody actually got paid for writing that?
If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.
-
Stop wanking and start doing real work! :zzz: Next you'll bother us about {} instead of { } I wonder if there ever was something more pointless? Maybe it's what you argue about when your work doesn't matter, I suppose?!
My programming get away... The Blog... DirectX for WinRT/C# since 2013! Taking over the world since 1371!
Surely that's { } ?