Click here to Skip to main content
15,921,279 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
PIEBALDconsult27-Jan-14 10:46
mvePIEBALDconsult27-Jan-14 10:46 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
Dan Neely27-Jan-14 10:33
Dan Neely27-Jan-14 10:33 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
OriginalGriff27-Jan-14 10:13
mveOriginalGriff27-Jan-14 10:13 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
Espen Harlinn27-Jan-14 11:31
professionalEspen Harlinn27-Jan-14 11:31 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
MRJIT27-Jan-14 20:10
MRJIT27-Jan-14 20:10 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
James Curran28-Jan-14 1:04
James Curran28-Jan-14 1:04 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
KP Lee28-Jan-14 11:07
KP Lee28-Jan-14 11:07 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
Stefan_Lang29-Jan-14 20:15
Stefan_Lang29-Jan-14 20:15 
Spacing in code is similar to spacing in prose text documents:

-make_the_lines_too_long_and_chances_are_you'll_skip_lines_when_reading,_because_you_need_to_move_your_view_to_the_left_and_right_too_much (there's a reason text in newspapers is split into columns!)
- lines
too
short,
and
you'll
run
into
difficulties
recognizing
the
meaning
of
compound
statements
that
were
torn
apart
and
split
into
multiple
lines



- put in too many blank lines,



and you feel



like you're working more scrolling



than actually reading meaningful text
- put in toofew blanksandspaces andyouhave difficulties recognizing thecontent(program) structure.

Either way, people are different in how much separation they need to feel comfortable with a given text/program, or how little they need to make the text/program feel coherent. As an author/programmer, you need to find a sensible middle ground.
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
StatementTerminator28-Jan-14 4:14
StatementTerminator28-Jan-14 4:14 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
KP Lee28-Jan-14 11:21
KP Lee28-Jan-14 11:21 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
StatementTerminator28-Jan-14 11:31
StatementTerminator28-Jan-14 11:31 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
Stefan_Lang29-Jan-14 20:32
Stefan_Lang29-Jan-14 20:32 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
StatementTerminator30-Jan-14 3:22
StatementTerminator30-Jan-14 3:22 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
Stefan_Lang30-Jan-14 3:54
Stefan_Lang30-Jan-14 3:54 
RantRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
Member 1047517028-Jan-14 8:19
Member 1047517028-Jan-14 8:19 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
jschell28-Jan-14 10:00
jschell28-Jan-14 10:00 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
StatementTerminator28-Jan-14 10:21
StatementTerminator28-Jan-14 10:21 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
KP Lee28-Jan-14 11:25
KP Lee28-Jan-14 11:25 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
Stefan_Lang29-Jan-14 20:45
Stefan_Lang29-Jan-14 20:45 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
jschell28-Jan-14 9:57
jschell28-Jan-14 9:57 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
Espen Harlinn28-Jan-14 10:28
professionalEspen Harlinn28-Jan-14 10:28 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
Bitbeisser28-Jan-14 12:24
Bitbeisser28-Jan-14 12:24 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
Sander Rossel27-Jan-14 10:34
professionalSander Rossel27-Jan-14 10:34 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
Dan Neely27-Jan-14 10:38
Dan Neely27-Jan-14 10:38 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
Keith Barrow27-Jan-14 11:40
professionalKeith Barrow27-Jan-14 11:40 

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.