Click here to Skip to main content
15,887,477 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
Eusebiu Marcu18-May-23 0:38
Eusebiu Marcu18-May-23 0:38 
GeneralRe: In defense of spaghetti code. *ducks* Pin
MikeCO1018-May-23 3:36
MikeCO1018-May-23 3:36 
GeneralRe: In defense of spaghetti code. *ducks* Pin
jschell18-May-23 5:43
jschell18-May-23 5:43 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu18-May-23 6:40
Eusebiu Marcu18-May-23 6:40 
GeneralRe: In defense of spaghetti code. *ducks* Pin
jschell19-May-23 7:46
jschell19-May-23 7:46 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu19-May-23 23:06
Eusebiu Marcu19-May-23 23:06 
GeneralRe: In defense of spaghetti code. *ducks* Pin
jschell21-May-23 7:18
jschell21-May-23 7:18 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu21-May-23 22:34
Eusebiu Marcu21-May-23 22:34 
jschell wrote:
How long have you been doing this? How many companies have you worked for?

If you quote me, at least quote the entire sentence. Smile | :)
I said: "I never encountered an app that was badly written (like spaghetti code) and kept alive just because in the initial stages the cost was peanuts". In all my apps, they were always written with a strategy in mind (and there was never such a thing: write it as you like, we will scrap it later, which OP is basically saying and insisting on why spaghetti code is a "solution" - it might be in this weird case...), they knew that it would be at a certain standard, so no spaghetti code even if it was the cheapest solution. The point was that the initial cost was not the reason to keep it for later. Oh, that it had become so useful/critical (because someone didn't do it's job to review the code or hired the wrong devs or didn't want to change it anymore because was cheap and thinks will never change, which it's actually the counter-example of what OP is saying) that one cannot easily replace it, yes, ofc I've encountered; hell, I helped refactor them but the company never said "it was a cheap app, how can we not support it now?". Laugh | :laugh:

To answer your questions, I worked for both mid-size companies and corporations, and for about 17 years (one can say I have a little of experience in software development, in multiple languages, and runtimes - from native, to managed to gaming). You are right that larger the company, the easier is to "decide" to rewrite it, but no "normal" company (I don't know them all) would decide that (i.e. keep it just because it was cheap the first 2-3 sprints Laugh | :laugh: ). Smile | :)
Eusebiu


modified 22-May-23 4:47am.

GeneralRe: In defense of spaghetti code. *ducks* Pin
jschell22-May-23 7:00
jschell22-May-23 7:00 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Alister Morton18-May-23 4:59
Alister Morton18-May-23 4:59 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu18-May-23 6:30
Eusebiu Marcu18-May-23 6:30 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Alister Morton19-May-23 5:51
Alister Morton19-May-23 5:51 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu19-May-23 6:35
Eusebiu Marcu19-May-23 6:35 
GeneralRe: In defense of spaghetti code. *ducks* Pin
jschell18-May-23 5:40
jschell18-May-23 5:40 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu18-May-23 6:36
Eusebiu Marcu18-May-23 6:36 
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 
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 

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.