Click here to Skip to main content
15,513,441 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: When I say "goto", my parrot says "Spaghetti Code" Pin
CodeWraith7-Jun-18 11:24
CodeWraith7-Jun-18 11:24 
GeneralRe: When I say "goto", my parrot says "Spaghetti Code" Pin
kmoorevs7-Jun-18 12:05
kmoorevs7-Jun-18 12:05 
GeneralRe: When I say "goto", my parrot says "Spaghetti Code" Pin
GuyThiebaut7-Jun-18 21:37
professionalGuyThiebaut7-Jun-18 21:37 
GeneralRe: When I say "goto", my parrot says "Spaghetti Code" Pin
Nathan Minier7-Jun-18 8:53
professionalNathan Minier7-Jun-18 8:53 
GeneralRe: When I say "goto", my parrot says "Spaghetti Code" Pin
Maximilien7-Jun-18 9:00
Maximilien7-Jun-18 9:00 
GeneralRe: When I say "goto", my parrot says "Spaghetti Code" Pin
OriginalGriff7-Jun-18 9:13
mveOriginalGriff7-Jun-18 9:13 
GeneralRe: When I say "goto", my parrot says "Spaghetti Code" Pin
Eddy Vluggen7-Jun-18 9:16
professionalEddy Vluggen7-Jun-18 9:16 
GeneralRe: When I say "goto", my parrot says "Spaghetti Code" Pin
RandyBuchholz7-Jun-18 10:04
RandyBuchholz7-Jun-18 10:04 
Quote:
Are we asking annoying questions, just for the sake of asking?

No, not just for the sake of asking, just for the sake of annoying. Smile | :)
Also to see how many mind readers would jump on me for using them - even though I didn't say I used them. Smile | :) And don't, except in rare, low-level performance cases.

It came out of a recent discussion. I was reviewing some code someone showed me (they didn't write it) that had a goto in it. He said the code was Spaghetti Code. When I asked why, he said because it had a goto. I asked why that made it spaghetti, and all he could come up with was that he was taught that. I asked about a few other "programming truths", and had much the same response. This is good, that is bad, but I don't really know why. I started thinking about how for some things, aspects of programming have become more faith than science.
GeneralRe: When I say "goto", my parrot says "Spaghetti Code" Pin
Eddy Vluggen7-Jun-18 12:09
professionalEddy Vluggen7-Jun-18 12:09 
GeneralRe: When I say "goto", my parrot says "Spaghetti Code" Pin
englebart8-Jun-18 3:01
professionalenglebart8-Jun-18 3:01 
GeneralRe: When I say "goto", my parrot says "Spaghetti Code" Pin
Mycroft Holmes7-Jun-18 14:33
professionalMycroft Holmes7-Jun-18 14:33 
GeneralRe: When I say "goto", my parrot says "Spaghetti Code" Pin
CarelAgain7-Jun-18 20:44
professionalCarelAgain7-Jun-18 20:44 
GeneralRe: When I say "goto", my parrot says "Spaghetti Code" Pin
DKWatson7-Jun-18 22:43
DKWatson7-Jun-18 22:43 
GeneralRe: When I say "goto", my parrot says "Spaghetti Code" Pin
soulesurfer7-Jun-18 23:33
soulesurfer7-Jun-18 23:33 
GeneralRe: When I say "goto", my parrot says "Spaghetti Code" Pin
englebart8-Jun-18 3:09
professionalenglebart8-Jun-18 3:09 
GeneralRe: When I say "goto", my parrot says "Spaghetti Code" Pin
bleahy488-Jun-18 4:23
bleahy488-Jun-18 4:23 
GeneralRe: When I say "goto", my parrot says "Spaghetti Code" Pin
obermd8-Jun-18 4:27
obermd8-Jun-18 4:27 
GeneralRe: When I say "goto", my parrot says "Spaghetti Code" Pin
Member 136445608-Jun-18 5:29
Member 136445608-Jun-18 5:29 
GeneralRe: When I say "goto", my parrot says "Spaghetti Code" Pin
SeattleC++8-Jun-18 6:16
SeattleC++8-Jun-18 6:16 
Generalgoto considered useful Pin
Martijn Smitshoek8-Jun-18 8:39
Martijn Smitshoek8-Jun-18 8:39 
GeneralRe: When I say "goto", my parrot says "Spaghetti Code" Pin
TNCaver8-Jun-18 16:17
TNCaver8-Jun-18 16:17 
GeneralRe: When I say "goto", my parrot says "Spaghetti Code" Pin
AnotherKen8-Jun-18 16:52
professionalAnotherKen8-Jun-18 16:52 
GeneralRe: When I say "goto", my parrot says "Spaghetti Code" Pin
jschell9-Jun-18 5:58
jschell9-Jun-18 5:58 
GeneralThought of the Day Pin
OriginalGriff7-Jun-18 6:00
mveOriginalGriff7-Jun-18 6:00 
GeneralRe: Thought of the Day Pin
den2k887-Jun-18 6:02
professionalden2k887-Jun-18 6:02 

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

An amazing AI programming tool is invented that can do one task perfectly. What would you choose?
  Results   763 votes