Click here to Skip to main content
15,887,453 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
David O'Neil23-Aug-20 5:43
professionalDavid O'Neil23-Aug-20 5:43 
GeneralRe: What is the longest programming misconception you've held (that you are aware of)? Pin
Jörgen Andersson23-Aug-20 20:47
professionalJörgen Andersson23-Aug-20 20:47 
GeneralRe: What is the longest programming misconception you've held (that you are aware of)? Pin
trønderen23-Aug-20 2:59
trønderen23-Aug-20 2:59 
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 
My answer changed today because of the above post[^]. Big Grin | :-D

I was about to reply to it saying that, unlike C++, it's interesting that C# doesn't insist that default be the last label in a switch statement. But I figured I should check this, and it turns out that C++ also allows it! I'd always believed otherwise since starting to use C++ about 20 years ago, perhaps because that's the way it is in the language I used for a long time, though it uses OUT instead of default.

EDIT: That's the longest known misconception; there are probably tons of others!
Robust Services Core | Software Techniques for Lemmings | Articles
The fox knows many things, but the hedgehog knows one big thing.

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 
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 

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.