this post was submitted on 23 Jan 2025
527 points (97.8% liked)

Programmer Humor

33268 readers
831 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 54 points 2 weeks ago (3 children)

I've heard an ex microsoft employee said in a blog once that the windows team has no seniors. Anyone who has worked there for one or two years has left for better employers. Nobody knows how to refactor or maintain old codebases, so instead, they just write new things on top of the old things. The windows kernel has hardly changed since XP.

[–] [email protected] 40 points 2 weeks ago (1 children)

This makes sense, most of that explanation in the screenshot reeks of novices working with something they don't understand.

[–] [email protected] 20 points 2 weeks ago (1 children)

Copying and pasting a current example and changing the names... yep.

Instead of making it worse you could extract it to a new file. Make an interface. Write a unit test. Anything.

The guy wonders why the file is 15k lines long and then describes exactly why.

[–] zalgotext 7 points 2 weeks ago (2 children)

Right? Like my dude, bare minimum at least write down those steps in a text document so you can reference it the next time you have to add something. Bonus points for putting it on some shared internal wiki or whatever Microsoft uses.

[–] [email protected] 1 points 2 weeks ago

Or write a tool that can do all these steps for you, reliably!

[–] [email protected] 1 points 2 weeks ago

I don't think anybody gets paid enough to write that down. In fact, they might get punished for wasting company time. They could open source it and people would automatically fix these things. Who knows.

[–] [email protected] 5 points 2 weeks ago

This sounds 100% credible, based on the outcomes we can see

[–] [email protected] 2 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

The windows kernel has hardly changed since XP.

Windows NNT when? Surely from a business/competition perspective they can't let Linux get that many years ahead of them in terms of kernel optimisations?

[–] [email protected] 1 points 2 weeks ago

thats what happens when short term profit is king I guess