Click here to Skip to main content
15,915,650 members

Survey Results

Where should the braces go?   [Edit]

Survey period: 25 Feb 2001 to 3 Mar 2001

What is your preference for placing braces. See the braces page for a list of options.

OptionVotes% 
Braces starting on control line12215.60
Braces starting on line under control line, non-indented56472.12
Braces starting on line under control line, indented729.21
Braces starting on control line, closeing brace indented162.05
Other (please demonstrate!)81.02



 
GeneralRe: ... followup question: do you use the same format that your tutor did (incl favourate book) Pin
3-Mar-01 21:32
suss3-Mar-01 21:32 
General"Fun" coding standards ;) Pin
George27-Feb-01 6:45
George27-Feb-01 6:45 
GeneralRe: Pin
Chris Losinger27-Feb-01 7:10
professionalChris Losinger27-Feb-01 7:10 
GeneralRe: Pin
James R. Twine27-Feb-01 8:01
James R. Twine27-Feb-01 8:01 
GeneralWhy not? Pin
George27-Feb-01 8:49
George27-Feb-01 8:49 
GeneralRe: Why not? Pin
James R. Twine27-Feb-01 15:12
James R. Twine27-Feb-01 15:12 
GeneralRe: Why not? Pin
George1-Mar-01 2:03
George1-Mar-01 2:03 
GeneralRe: Why not? Pin
James R. Twine1-Mar-01 13:00
James R. Twine1-Mar-01 13:00 
> Wasting space?

In some instances, yes.

> For no good reason?

Again, in some instances, yes.

> And who is deciding which reason is good - You?

No. Noone said that. Perhaps you should re-read my post, you seem to have "imagined" some text that was not there.

> "Fun code" is on topic

Not all obfuscated code is "fun code". Unless, of course, someone has decided that it is... "- You?" No, I thought not...

> the pool is about the braces, and one of the choices is
> "Other (please demostrate)" which I did.

Not all obfuscated code contains braces. (Period.)

> As long as code contains any braces it is on topic.

I never said it was not on topic. Again, please re-read my post. My concern was about turning this topic into an obfuscated code competition.

"Real Life" Tip of the month: Work brain BEFORE mouth.
"Real Life" Tip of the year: Mind the tone you take with strangers.

Lastly, note that CodeProject is a site that was designed for Win32 development. Not for obfuscated code.

Peace!

-=- James.
GeneralRe: Why not? Pin
George2-Mar-01 5:13
George2-Mar-01 5:13 
GeneralAwwww, Geeze... Pin
James R. Twine2-Mar-01 13:13
James R. Twine2-Mar-01 13:13 
GeneralRe: Why not? Pin
Chris Losinger2-Mar-01 5:25
professionalChris Losinger2-Mar-01 5:25 
GeneralRe: Why not? Pin
James R. Twine2-Mar-01 13:18
James R. Twine2-Mar-01 13:18 
GeneralRe: Why not? Pin
Chris Losinger3-Mar-01 7:48
professionalChris Losinger3-Mar-01 7:48 
General*I* will determine what I was trying to imply, if anything. Pin
James R. Twine3-Mar-01 9:07
James R. Twine3-Mar-01 9:07 
GeneralRe: *I* will determine what I was trying to imply, if anything. Pin
Chris Losinger3-Mar-01 11:07
professionalChris Losinger3-Mar-01 11:07 
GeneralPascal and Option 2 Pin
27-Feb-01 5:52
suss27-Feb-01 5:52 
GeneralRe: Pascal and Option 2 Pin
Jim A. Johnson27-Feb-01 13:59
Jim A. Johnson27-Feb-01 13:59 
GeneralI have clicked Pin
26-Feb-01 21:37
suss26-Feb-01 21:37 
Generalwhew.... Pin
26-Feb-01 17:18
suss26-Feb-01 17:18 
GeneralCode complete. Recommends Option 1? (Not me) Pin
26-Feb-01 11:33
suss26-Feb-01 11:33 
GeneralAwesome premise! Pin
Scott!26-Feb-01 8:13
Scott!26-Feb-01 8:13 
GeneralRe: Awesome premise! Pin
26-Feb-01 20:23
suss26-Feb-01 20:23 
GeneralRe: Awesome premise! Pin
27-Feb-01 11:42
suss27-Feb-01 11:42 
GeneralRe: Awesome premise! Pin
Chris Losinger28-Feb-01 3:51
professionalChris Losinger28-Feb-01 3:51 
GeneralA Nice C++ Coding Standard Reference Pin
Chris Losinger27-Feb-01 3:23
professionalChris Losinger27-Feb-01 3:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.