Click here to Skip to main content
15,886,689 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: What is the longest programming misconception you've held (that you are aware of)? Pin
FreedMalloc24-Aug-20 10:04
FreedMalloc24-Aug-20 10:04 
GeneralRe: What is the longest programming misconception you've held (that you are aware of)? Pin
kiwerry26-Aug-20 22:48
kiwerry26-Aug-20 22:48 
GeneralRe: What is the longest programming misconception you've held (that you are aware of)? Pin
GuyThiebaut23-Aug-20 1:44
professionalGuyThiebaut23-Aug-20 1:44 
GeneralRe: What is the longest programming misconception you've held (that you are aware of)? Pin
harold aptroot23-Aug-20 4:18
harold aptroot23-Aug-20 4:18 
GeneralRe: What is the longest programming misconception you've held (that you are aware of)? Pin
Greg Utas23-Aug-20 4:24
professionalGreg Utas23-Aug-20 4:24 
GeneralRe: What is the longest programming misconception you've held (that you are aware of)? Pin
David O'Neil23-Aug-20 5:47
professionalDavid O'Neil23-Aug-20 5:47 
GeneralRe: What is the longest programming misconception you've held (that you are aware of)? Pin
MarkTJohnson23-Aug-20 9:55
professionalMarkTJohnson23-Aug-20 9:55 
GeneralRe: What is the longest programming misconception you've held (that you are aware of)? PinPopular
Gary R. Wheeler23-Aug-20 4:34
Gary R. Wheeler23-Aug-20 4:34 
Note: The following is a personal statement of preference, not an invitation to a jihad.

Not really a programming misconception, but a coding style choice. For a very long time, starting in the mid-1980's through about 2010 or so, I used K&R braces exclusively. When I started writing C#, I used Allman[^] braces, following the style recommended by Microsoft and a couple of the books I was using.

As time has gone on Allman has become my preferred style. I have some vision problems due to age and glaucoma, so my code needs frequent blank lines to separate logical blocks. Allman braces provide white space that isn't merely cosmetic. I've even got an editor macro that converts K&R braces to Allman. I have a large body of C++ that I recently converted as part of a refactor and refresh effort on an old product that I'm maintaining.
Software Zen: delete this;

GeneralRe: What is the longest programming misconception you've held (that you are aware of)? Pin
Greg Utas23-Aug-20 5:08
professionalGreg Utas23-Aug-20 5:08 
GeneralRe: What is the longest programming misconception you've held (that you are aware of)? Pin
PIEBALDconsult23-Aug-20 5:29
mvePIEBALDconsult23-Aug-20 5:29 
GeneralRe: What is the longest programming misconception you've held (that you are aware of)? Pin
Greg Utas23-Aug-20 5:39
professionalGreg Utas23-Aug-20 5:39 
GeneralRe: What is the longest programming misconception you've held (that you are aware of)? Pin
PIEBALDconsult23-Aug-20 5:50
mvePIEBALDconsult23-Aug-20 5:50 
GeneralRe: What is the longest programming misconception you've held (that you are aware of)? Pin
K Personett24-Aug-20 3:30
K Personett24-Aug-20 3:30 
GeneralRe: What is the longest programming misconception you've held (that you are aware of)? Pin
trønderen23-Aug-20 5:13
trønderen23-Aug-20 5:13 
GeneralRe: What is the longest programming misconception you've held (that you are aware of)? Pin
PIEBALDconsult23-Aug-20 5:24
mvePIEBALDconsult23-Aug-20 5:24 
GeneralRe: What is the longest programming misconception you've held (that you are aware of)? Pin
GuyThiebaut23-Aug-20 5:41
professionalGuyThiebaut23-Aug-20 5:41 
GeneralRe: What is the longest programming misconception you've held (that you are aware of)? Pin
Dan Neely24-Aug-20 2:28
Dan Neely24-Aug-20 2:28 
GeneralRe: What is the longest programming misconception you've held (that you are aware of)? Pin
David O'Neil23-Aug-20 5:49
professionalDavid O'Neil23-Aug-20 5:49 
PraiseRe: What is the longest programming misconception you've held (that you are aware of)? Pin
CPallini23-Aug-20 22:14
mveCPallini23-Aug-20 22:14 
GeneralRe: What is the longest programming misconception you've held (that you are aware of)? Pin
Rusty Bullet24-Aug-20 4:55
Rusty Bullet24-Aug-20 4:55 
GeneralRe: What is the longest programming misconception you've held (that you are aware of)? Pin
PIEBALDconsult23-Aug-20 5:14
mvePIEBALDconsult23-Aug-20 5:14 
GeneralRe: What is the longest programming misconception you've held (that you are aware of)? Pin
Rick York23-Aug-20 6:31
mveRick York23-Aug-20 6:31 
GeneralRe: What is the longest programming misconception you've held (that you are aware of)? Pin
Member 1330167923-Aug-20 21:11
Member 1330167923-Aug-20 21:11 
GeneralRe: What is the longest programming misconception you've held (that you are aware of)? Pin
Josh Gray223-Aug-20 22:11
Josh Gray223-Aug-20 22:11 
GeneralRe: What is the longest programming misconception you've held (that you are aware of)? Pin
Sander Rossel23-Aug-20 22:09
professionalSander Rossel23-Aug-20 22:09 

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.