Click here to Skip to main content
15,897,291 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
Dominic Amann28-Jan-14 2:54
Dominic Amann28-Jan-14 2:54 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
RafagaX28-Jan-14 5:16
professionalRafagaX28-Jan-14 5:16 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
jibalt28-Jan-14 8:13
jibalt28-Jan-14 8:13 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
firegryphon28-Jan-14 9:12
firegryphon28-Jan-14 9:12 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
Dan Neely28-Jan-14 10:00
Dan Neely28-Jan-14 10:00 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
firegryphon28-Jan-14 11:10
firegryphon28-Jan-14 11:10 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
Michael Collins - Intervalia28-Jan-14 10:28
professionalMichael Collins - Intervalia28-Jan-14 10:28 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
rjmoses28-Jan-14 12:41
professionalrjmoses28-Jan-14 12:41 
K&R C was developed in the days when the Teletype ASR 33 was the standard keyboard/printer/paper tape reader/punch. The ASR 33 read and printed AT 10 CHARACTERS PER SECOND. Since it could take hours to compile and print a program listing, brevity was paramount. Spaces were important since each space took a 1/10 of a second to process; tabs were not usually used because tab settings were not consistent; and the program author was the maintainer, so understanding and style consistency were already learned.

IMHO, C, C++, Java, JavaScript, and all their derivative languages are innately prone to error.

I have spent countless unnecessary hours chasing non-obvious programming errors. In one case, I spent over 6 months chasing an "=" vs "==" in an if statement in a C program that was buried in an error recovery routine.

Programs should be written, first for communications to yourself; second, to other programmers; and finally to the equipment. And part of communications is consistency in style.

At last count, I have written programs and systems in over 40 languages, some of which where proprietary to equipment or application. They all have room for improvement!

Just my thoughts
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
Stefan_Lang29-Jan-14 3:36
Stefan_Lang29-Jan-14 3:36 
GeneralRe: The only thing worse than code written using The Wrong Brace Style(tm) Pin
dvdcrr7731-Jan-14 0:02
dvdcrr7731-Jan-14 0:02 
GeneralWhat a winter Pin
PJ Arends27-Jan-14 8:55
professionalPJ Arends27-Jan-14 8:55 
GeneralRe: What a winter Pin
Ravi Bhavnani27-Jan-14 9:03
professionalRavi Bhavnani27-Jan-14 9:03 
GeneralRe: What a winter Pin
_Maxxx_27-Jan-14 11:50
professional_Maxxx_27-Jan-14 11:50 
GeneralRe: What a winter Pin
Ravi Bhavnani27-Jan-14 12:08
professionalRavi Bhavnani27-Jan-14 12:08 
GeneralRe: What a winter Pin
Marc A. Brown28-Jan-14 6:17
Marc A. Brown28-Jan-14 6:17 
GeneralRe: What a winter Pin
OriginalGriff27-Jan-14 9:06
mveOriginalGriff27-Jan-14 9:06 
GeneralRe: What a winter Pin
Ravi Bhavnani27-Jan-14 9:53
professionalRavi Bhavnani27-Jan-14 9:53 
GeneralRavi we don't want your weather Pin
Mike Hankey27-Jan-14 9:11
mveMike Hankey27-Jan-14 9:11 
GeneralRe: Ravi we don't want your weather Pin
Tim Carmichael27-Jan-14 9:19
Tim Carmichael27-Jan-14 9:19 
GeneralRe: Ravi we don't want your weather Pin
Mike Hankey27-Jan-14 9:45
mveMike Hankey27-Jan-14 9:45 
GeneralRe: Ravi we don't want your weather Pin
Ravi Bhavnani27-Jan-14 9:54
professionalRavi Bhavnani27-Jan-14 9:54 
GeneralRe: Ravi we don't want your weather Pin
Mike Hankey27-Jan-14 9:57
mveMike Hankey27-Jan-14 9:57 
GeneralRe: What a winter Pin
Marc Clifton27-Jan-14 9:15
mvaMarc Clifton27-Jan-14 9:15 
GeneralRe: What a winter Pin
PJ Arends27-Jan-14 9:24
professionalPJ Arends27-Jan-14 9:24 
GeneralRe: What a winter Pin
Roger Wright27-Jan-14 9:20
professionalRoger Wright27-Jan-14 9:20 

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.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   27 votes