Click here to Skip to main content
15,921,295 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
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 
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 
MRJIT wrote:
Is it not more important that the code is A. readable...


Yes readability does matter, and that's exactly why brace style matters.

MRJIT wrote:
What I truly detest in coding style is all the code written as if programmers were paid by each line of code (ancient format of reimbursement) and everyone simply tries to fill a load of dead line space whilst appearing smart.


I have never understood the desire to save vertical space. Can anyone tell me why, in this day and age, vertical space is so important that it's worth sacrificing readability for?

The best brace style is the most readable one, and also the one that is least likely to get mangled during refactoring. Allman, of course.
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 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
JMK8927-Jan-14 10:56
professionalJMK8927-Jan-14 10:56 

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.