this post was submitted on 21 Jun 2023
56 points (78.0% liked)

Memes

45726 readers
1000 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] BentiGorlich@gehirneimer.de 2 points 1 year ago (2 children)

Sadly exactly that is the reason that windows is just a bunch of spaghetti code XD

[–] ThesePaycheckAvenging@kbin.social 1 points 1 year ago (1 children)

And yet, Linux tools are even older and the kernel better written than either Windows or OSX.

[–] StudioLE@programming.dev 1 points 1 year ago

Do you have a source for the second half of your statement?

[–] BlueDiamond@rammy.site 1 points 1 year ago (1 children)

What is spaghetti code? (Sorry am non coder)

[–] FrankTheHealer@lemmy.ml 1 points 1 year ago

Basically, spaghetti code is code that is poorly written or implemented.

Most of the time, companies can use newer technologies to replace or fix this bad code, but if the spaghetti code is still needed or in use, then it becomes too difficult or expensive to fix. So we end up with old, badly written and inefficient code and are stuck with it indefinitely.

Good example here being Windows. Some programs from over 20 years ago will still run on Windows 11, many companies rely on these older programs and Microsoft knows this. However, the systems written to allow these programs to run in Windows is usually seen as being bad code since it lacks a lot of the modern techniques programmers use to make things easier to work with and maintain over time. But these old systems cannot be changed or updated since they will then not work with those 20 year old programs that many companies rely on.