Click here to Skip to main content
15,901,373 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
PIEBALDconsult17-May-23 13:07
mvePIEBALDconsult17-May-23 13:07 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch17-May-23 13:15
mvahoney the codewitch17-May-23 13:15 
GeneralRe: In defense of spaghetti code. *ducks* Pin
jmaida17-May-23 18:34
jmaida17-May-23 18:34 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Greg Utas18-May-23 0:11
professionalGreg Utas18-May-23 0:11 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu18-May-23 0:46
Eusebiu Marcu18-May-23 0:46 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Greg Utas18-May-23 1:15
professionalGreg Utas18-May-23 1:15 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu18-May-23 1:41
Eusebiu Marcu18-May-23 1:41 
GeneralRe: In defense of spaghetti code. *ducks* Pin
jschell18-May-23 6:50
jschell18-May-23 6:50 
Eusebiu Marcu wrote:
and saying that it's the specs fault


Unless of course you are 'writing to spec' then it could be contract violation to do it some other way.

But other than that the problem then is not the code but the design/requirements. And it should be addressed at that level.

Should be noted that the OP states "so many conditions around state changes"

I have seen attempts to make state diagrams into OO and it always looks like idealization run amuck.
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch18-May-23 3:58
mvahoney the codewitch18-May-23 3:58 
GeneralRe: In defense of spaghetti code. *ducks* Pin
BernardIE531718-May-23 1:49
BernardIE531718-May-23 1:49 
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 
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 

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