Click here to Skip to main content
15,891,513 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: Pet Peeve Pin
Jeremy Falcon10-Dec-14 11:49
professionalJeremy Falcon10-Dec-14 11:49 
GeneralRe: Pet Peeve Pin
Brady Kelly10-Dec-14 16:18
Brady Kelly10-Dec-14 16:18 
GeneralRe: Pet Peeve Pin
DenverEd11-Dec-14 4:58
DenverEd11-Dec-14 4:58 
GeneralRe: Pet Peeve Pin
Jeremy Falcon11-Dec-14 5:07
professionalJeremy Falcon11-Dec-14 5:07 
GeneralRe: Pet Peeve Pin
StatementTerminator11-Dec-14 9:05
StatementTerminator11-Dec-14 9:05 
GeneralRe: Pet Peeve Pin
Jeremy Falcon11-Dec-14 10:05
professionalJeremy Falcon11-Dec-14 10:05 
GeneralRe: Pet Peeve Pin
Cloud William11-Dec-14 2:40
Cloud William11-Dec-14 2:40 
GeneralRe: Pet Peeve Pin
Chris Losinger10-Dec-14 12:08
professionalChris Losinger10-Dec-14 12:08 
it certainly is harder to maintain.

i can't count how many times i've had to fix something in code that only uses brackets when one or more statements are being controlled. so you get stuff like:

C++
for (i=0;i<10;i++)
  for (x=0;x<10;x++)
    if (xyz) foo()
    else for (z=0;z<10;z++)
       bazinga();
    bar();


and then you have to spend precious brain wattage figuring out that bar(); has nothing to do with any of the rest of it.

this isn't 1967, 3 bytes for a bracket and an CR/NL isn't going to run you out of punch cards. make the code readable!

GeneralRe: Pet Peeve Pin
Brady Kelly10-Dec-14 16:19
Brady Kelly10-Dec-14 16:19 
GeneralRe: Pet Peeve Pin
Andy Brummer10-Dec-14 16:19
sitebuilderAndy Brummer10-Dec-14 16:19 
GeneralRe: Pet Peeve Pin
Chris Losinger10-Dec-14 16:21
professionalChris Losinger10-Dec-14 16:21 
GeneralRe: Pet Peeve Pin
Andy Brummer10-Dec-14 16:45
sitebuilderAndy Brummer10-Dec-14 16:45 
GeneralRe: Pet Peeve Pin
agolddog11-Dec-14 3:46
agolddog11-Dec-14 3:46 
GeneralRe: Pet Peeve Pin
Jeremy Falcon11-Dec-14 4:56
professionalJeremy Falcon11-Dec-14 4:56 
GeneralRe: Pet Peeve Pin
R. Giskard Reventlov10-Dec-14 11:14
R. Giskard Reventlov10-Dec-14 11:14 
GeneralRe: Pet Peeve Pin
Jeremy Falcon10-Dec-14 11:16
professionalJeremy Falcon10-Dec-14 11:16 
GeneralRe: Pet Peeve Pin
R. Giskard Reventlov10-Dec-14 11:22
R. Giskard Reventlov10-Dec-14 11:22 
GeneralRe: Pet Peeve Pin
Jeremy Falcon10-Dec-14 11:25
professionalJeremy Falcon10-Dec-14 11:25 
GeneralRe: Pet Peeve Pin
ronchristie11-Dec-14 9:59
ronchristie11-Dec-14 9:59 
GeneralRe: Pet Peeve Pin
Jeremy Falcon11-Dec-14 10:08
professionalJeremy Falcon11-Dec-14 10:08 
GeneralRe: Pet Peeve Pin
rjmoses12-Dec-14 10:18
professionalrjmoses12-Dec-14 10:18 
GeneralRe: Pet Peeve Pin
ronchristie13-Dec-14 9:04
ronchristie13-Dec-14 9:04 
GeneralRe: Pet Peeve PinPopular
Tom Clement10-Dec-14 10:23
professionalTom Clement10-Dec-14 10:23 
GeneralRe: Pet Peeve Pin
Jeremy Falcon10-Dec-14 10:25
professionalJeremy Falcon10-Dec-14 10:25 
GeneralRe: Pet Peeve Pin
Maximilien10-Dec-14 10:26
Maximilien10-Dec-14 10:26 

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.