this post was submitted on 21 Jun 2023
57 points (100.0% liked)

Memes

45661 readers
1299 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

[–] 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.

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