this post was submitted on 23 Jan 2025
488 points (96.9% liked)

Programmer Humor

32710 readers
243 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] themakara 3 points 3 hours ago

I wanna believe that this is fake.

But I expect it is not.

[–] [email protected] 7 points 4 hours ago

I have no way of verifying this is real, but I wholeheartedly believe it.

[–] [email protected] 9 points 5 hours ago (1 children)

Which control panel? There's like 20 of them and a new worse one gets added every other year.

[–] finitebanjo 4 points 4 hours ago* (last edited 4 hours ago)

Honestly, the REAL control panel that was default in 7 is great and I wish they hadn't spent the last decade+ trying to cover it up with baby-game aero menus.

As for programming for it, yeah no luck. Microsoft can't even be bothered to document their fucking ASP dot net formdata, much less their actual OS menu system.

[–] [email protected] 3 points 4 hours ago* (last edited 4 hours ago)

I'm now wondering if microsoft still even has the legacy control panel code.

[–] [email protected] 9 points 8 hours ago

... This seems like standard GUI stuff. The interface component defined by some markup, with a hook to some programmatic behavior, and perhaps a corresponding resource ID

[–] sfxrlz 14 points 10 hours ago (1 children)

So that’s why they shipped like every past systems’ control windows with every new version. Not for people’s convenience. Because of spaghett

[–] [email protected] 3 points 4 hours ago

Nobody toucha my spaghett

[–] RichieRich 4 points 8 hours ago

OH MY F... GOD! I knew it is witchcraft but I didn't knew that is is so awful!

[–] HStone32 48 points 1 day ago (2 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] 5 points 4 hours ago

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

[–] [email protected] 36 points 1 day ago (1 children)

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

[–] essteeyou 17 points 21 hours 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.

[–] [email protected] 6 points 5 hours 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 4 hours 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] 1 points 4 hours ago

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

[–] sircac 11 points 1 day ago

The “True Facts About Microsoft” and Zefrank reference got me :D

[–] [email protected] 31 points 1 day ago (2 children)

pretty much every windows GUI framework is trash or a pain in the ass to deal with except for Avalonia (my beloved), but it's more cross platform.

I'm not sure if this is 100% real but it very well could be. although imo makes me think of skill issue (not because the system makes sense, but these problems don't really seem like problems to me, just minor set backs)

[–] [email protected] 1 points 4 hours ago (1 children)

This is why everything is a goddamn web app now.

[–] [email protected] 1 points 3 hours ago* (last edited 3 hours ago)

well, no. everything is a god damn web app because everything runs browsers.

so why write native (device) applications if the device can run a browser ? just write code for the browser, which also runs on desktop. now you have a cross platform app without needing 5 different teams

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

I haven't done much with UI in general, but the one time I thought of making some UI stuff in windows I gave up.

Even modifying an existing .net program someone else made for a feature I wanted was a nightmare.

[–] [email protected] 21 points 1 day ago

Yep, I was shocked to see that there is no defacto 1st party framework and during my time searching online I found lots of "use x, use y, no y is dead and none uses it, no x is terrible" which is how I found Avalonia.

I still don't think there's a solid Windows gui framework, but I haven't looked in years.

[–] rtxn 144 points 1 day ago (3 children)

...maybe it's better that the Windows source code remain closed.

At the same time, I'd love to see the developers of the world glimpse at that eldritch cognitohazard and collectively go insane.

[–] [email protected] 67 points 1 day ago

Maybe we've been misunderstanding what Closed Source really is this whole time?

It's a codex holding back "eldritch cognitohazard" horrors that the technopriests of Microsoft have captured and tamed into an operating system. Releasing the source would release the beasts into our reality, much like the plot of John Carpenters In the Mouth of Madness.

Well, figured out one good reason for closed source, I guess. Let's not solve this LeMarchand's Box.

load more comments (2 replies)
[–] Supervisor194 83 points 1 day ago* (last edited 1 day ago) (8 children)

I don't think this is legit because even as I was reading it, I was expecting it to sound a lot worse than it ended up sounding. Like, it didn't sound great or anything, but it didn't sound nearly as fucked up as I would expect firsthand descriptions of piled-on legacy code to sound after almost 50 fucking years.

[–] [email protected] 8 points 22 hours ago (1 children)

Seriously, it doesn’t sound great, but it sounds about what you might expect wiring up a new UI widget in WPF or whatever the latest thing for native Windows is. Sounds like what would happen if you started developing a Windows app using the Microsoft scaffolding and never applied any kind of software architecture beyond that and it just grew and grew into a big ball of mud. Exactly what I would expect given the quality of so many of their frameworks, and I say that as a professional dotnet software engineer.

[–] [email protected] 3 points 4 hours ago* (last edited 2 hours ago) (1 children)

The complete lack of error reporting in the compiler is a surprise though.

[–] [email protected] 2 points 4 hours ago (1 children)

True, that is surprising and makes everything worse. It's probably controlled by a setting that none of those engineers knows how to change, based on the lack of knowledge described here.

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

My guess is that a stack trace is being generated, but something further down the chain is consuming it, realizes there's an error, and just throws -1 instead of the stack trace itself.

Something like

try {
    compileThisDamnProgram()
} catch Exception {
    return -1
}
[–] slazer2au 44 points 1 day ago (2 children)

But did you read the last line? This isn't classic control panel, this is the new control panel.

[–] [email protected] 10 points 22 hours ago

Sounds like classic junior engineer shit. “Let’s do a big rewrite!” Followed by everything going to shit because they don’t how to create good maintainable software architecture and for whatever reason there weren’t enough senior engineers around to show them the way.

load more comments (1 replies)
load more comments (6 replies)
[–] [email protected] 55 points 1 day ago

and people complain about wayland.

load more comments
view more: next ›