Click here to Skip to main content
15,906,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: In defense of spaghetti code. *ducks* Pin
Jeremy Falcon17-May-23 4:11
professionalJeremy Falcon17-May-23 4:11 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch17-May-23 4:12
mvahoney the codewitch17-May-23 4:12 
GeneralRe: In defense of spaghetti code. *ducks* Pin
thermia18-May-23 2:25
thermia18-May-23 2:25 
QuestionRe: In defense of spaghetti code. *ducks* Pin
megaadam16-May-23 23:18
professionalmegaadam16-May-23 23:18 
AnswerRe: 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
megaadam17-May-23 0:23
professionalmegaadam17-May-23 0:23 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch17-May-23 2:08
mvahoney the codewitch17-May-23 2:08 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Jeremy Falcon17-May-23 1:36
professionalJeremy Falcon17-May-23 1:36 
honey the codewitch wrote:
The bottom line here is that while we may chase perfect code, and "best practices" that's not always the most effective technique for keeping the lights on.
Knowing why this is a bad idea separates the seniors from those who think they are seniors but are not. Even on the off chance you can make sense of spaghetti, in a year or two it'll be harder if you come back to it. If it's handed off to another dev, it'll be harder.

As an aside, if a rewrite is only $2k, then it sounds like there should be no need for a diagram at all.

But anyway, if it will be used for anything customer facing, there should be some design to the code. Otherwise, don't do it. If it's a personal script that'll never leave your own machine that's fine or maybe even for a prototype/POC. But at the end of the day, people talk about saving time with a poor design simply because they never learned proper design to begin with and time is the number one excuse people use to not do something. It doesn't take much effort to avoid spaghetti despite not having the best stellar design.
Jeremy Falcon


modified 17-May-23 7:54am.

GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch17-May-23 2:04
mvahoney the codewitch17-May-23 2:04 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Jeremy Falcon17-May-23 4:23
professionalJeremy Falcon17-May-23 4:23 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch17-May-23 4:26
mvahoney the codewitch17-May-23 4:26 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Jeremy Falcon17-May-23 4:28
professionalJeremy Falcon17-May-23 4:28 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch17-May-23 4:29
mvahoney the codewitch17-May-23 4:29 
GeneralRe: In defense of spaghetti code. *ducks* Pin
jmaida17-May-23 19:36
jmaida17-May-23 19:36 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu18-May-23 1:19
Eusebiu Marcu18-May-23 1:19 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Jeremy Falcon18-May-23 3:49
professionalJeremy Falcon18-May-23 3:49 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu18-May-23 6:15
Eusebiu Marcu18-May-23 6:15 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Jeremy Falcon18-May-23 7:31
professionalJeremy Falcon18-May-23 7:31 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu18-May-23 8:34
Eusebiu Marcu18-May-23 8:34 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Jeremy Falcon18-May-23 11:34
professionalJeremy Falcon18-May-23 11:34 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu18-May-23 1:07
Eusebiu Marcu18-May-23 1:07 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch18-May-23 3:56
mvahoney the codewitch18-May-23 3:56 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu18-May-23 6:20
Eusebiu Marcu18-May-23 6:20 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch18-May-23 6:48
mvahoney the codewitch18-May-23 6:48 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu18-May-23 6:54
Eusebiu Marcu18-May-23 6:54 

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.