Click here to Skip to main content
15,883,558 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: CCC 17-05-2023 - Winner !!! Pin
OriginalGriff16-May-23 23:06
mveOriginalGriff16-May-23 23:06 
GeneralIn defense of spaghetti code. *ducks* PinPopular
honey the codewitch16-May-23 15:43
mvahoney the codewitch16-May-23 15:43 
GeneralRe: In defense of spaghetti code. *ducks* PinPopular
jmaida16-May-23 16:32
jmaida16-May-23 16:32 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Daniel Pfeffer16-May-23 19:08
professionalDaniel Pfeffer16-May-23 19:08 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch16-May-23 19:14
mvahoney the codewitch16-May-23 19:14 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Bruno van Dooren16-May-23 22:27
mvaBruno van Dooren16-May-23 22:27 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch17-May-23 2:28
mvahoney the codewitch17-May-23 2:28 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Nelek17-May-23 8:39
protectorNelek17-May-23 8:39 
I have programmed a lot of PLCs and while I had a lot of more resources in hardware than you, my coding options were way smaller.

Using JMP to control the flow of the program (IF-Else, Calls, partial returns...) was a must.

There were no other options.
But as you say, having to program like this, it doesn't mean that the code flow has to be ugly, weird or confusing.

The different between clean or crappy programs depends mostly on the person programing it, not on the methodic or the language.
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.

GeneralRe: In defense of spaghetti code. *ducks* Pin
jmaida17-May-23 19:20
jmaida17-May-23 19:20 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Jeremy Falcon17-May-23 1:44
professionalJeremy Falcon17-May-23 1:44 
GeneralRe: In defense of spaghetti code. *ducks* Pin
dandy7217-May-23 3:14
dandy7217-May-23 3:14 
GeneralRe: In defense of spaghetti code. *ducks* Pin
jmaida17-May-23 15:23
jmaida17-May-23 15:23 
GeneralRe: In defense of spaghetti code. *ducks* PinPopular
Ravi Bhavnani16-May-23 20:15
professionalRavi Bhavnani16-May-23 20:15 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch17-May-23 0:06
mvahoney the codewitch17-May-23 0:06 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Jeremy Falcon17-May-23 1:43
professionalJeremy Falcon17-May-23 1:43 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch17-May-23 2:02
mvahoney the codewitch17-May-23 2:02 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Jeremy Falcon17-May-23 4:16
professionalJeremy Falcon17-May-23 4:16 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch17-May-23 4:21
mvahoney the codewitch17-May-23 4:21 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu18-May-23 0:21
Eusebiu Marcu18-May-23 0:21 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch18-May-23 3:57
mvahoney the codewitch18-May-23 3:57 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu18-May-23 6:24
Eusebiu Marcu18-May-23 6:24 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch18-May-23 6:45
mvahoney the codewitch18-May-23 6:45 
GeneralRe: In defense of spaghetti code. *ducks* Pin
CPallini17-May-23 20:29
mveCPallini17-May-23 20:29 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Sander Rossel16-May-23 21:22
professionalSander Rossel16-May-23 21:22 
GeneralRe: In defense of spaghetti code. *ducks* Pin
ACRowland18-May-23 1:21
ACRowland18-May-23 1:21 

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.