Click here to Skip to main content
15,881,938 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: In defense of spaghetti code. *ducks* Pin
honey the codewitch18-May-23 3:54
mvahoney the codewitch18-May-23 3:54 
GeneralRe: In defense of spaghetti code. *ducks* Pin
BernardIE531718-May-23 4:02
BernardIE531718-May-23 4:02 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch18-May-23 5:14
mvahoney the codewitch18-May-23 5:14 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Alister Morton18-May-23 4:56
Alister Morton18-May-23 4:56 
GeneralRe: In defense of spaghetti code. *ducks* Pin
MikeCO1018-May-23 2:46
MikeCO1018-May-23 2:46 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Cpichols18-May-23 2:13
Cpichols18-May-23 2:13 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Juan Pablo Reyes Altamirano18-May-23 4:10
Juan Pablo Reyes Altamirano18-May-23 4:10 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch18-May-23 5:20
mvahoney the codewitch18-May-23 5:20 
This is C++, and the reason for the spaghetti was maintainability wasn't as a big a concern.

Also, despite being spaghetti, it actually follows the flow diagram I was given pretty directly, albeit with some necessary quirks. In that regard, it's actually got fair documentation for what it is.

But I'm not talking about gotos, but rather, for example, branching all over one C++ source file in response to various incoming events or state changes.

It's something of a Rube Goldberg contraption, in that one thing causes another thing, causes another thing in some scenarios in the code, and that can get confusing.
To err is human. Fortune favors the monsters.

GeneralRe: In defense of spaghetti code. *ducks* Pin
Matt Bond18-May-23 4:56
Matt Bond18-May-23 4:56 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch18-May-23 5:17
mvahoney the codewitch18-May-23 5:17 
GeneralRe: In defense of spaghetti code. *ducks* Pin
jkirkerx18-May-23 7:03
professionaljkirkerx18-May-23 7:03 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch18-May-23 7:06
mvahoney the codewitch18-May-23 7:06 
GeneralRe: In defense of spaghetti code. *ducks* Pin
jkirkerx18-May-23 8:33
professionaljkirkerx18-May-23 8:33 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu18-May-23 8:54
Eusebiu Marcu18-May-23 8:54 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch18-May-23 9:07
mvahoney the codewitch18-May-23 9:07 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu18-May-23 9:16
Eusebiu Marcu18-May-23 9:16 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch18-May-23 9:18
mvahoney the codewitch18-May-23 9:18 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu18-May-23 9:27
Eusebiu Marcu18-May-23 9:27 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch18-May-23 9:28
mvahoney the codewitch18-May-23 9:28 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu18-May-23 9:30
Eusebiu Marcu18-May-23 9:30 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu18-May-23 10:03
Eusebiu Marcu18-May-23 10:03 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu18-May-23 9:04
Eusebiu Marcu18-May-23 9:04 
GeneralRe: In defense of spaghetti code. *ducks* Pin
jkirkerx18-May-23 10:18
professionaljkirkerx18-May-23 10:18 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu18-May-23 10:50
Eusebiu Marcu18-May-23 10:50 
GeneralRe: In defense of spaghetti code. *ducks* Pin
jkirkerx18-May-23 11:43
professionaljkirkerx18-May-23 11:43 

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.