1647
dotnet developer (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] activ8r@sh.itjust.works 8 points 2 years ago

It makes sense why they did it, but their messed up versioning was the cause to begin with. You should always assume Devs will cut corners in inappropriate ways.

[-] pkill@programming.dev 15 points 2 years ago

They'll cut corners the more the shittier APIs and ABIs you provide

[-] dan@upvote.au 3 points 2 years ago* (last edited 2 years ago)

The API is fine. It returns the internal version number (which is 4.0 for Windows 95), not a string. https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-osversioninfoexa. There's no built-in API that returns "Windows 95" as a string.

this post was submitted on 07 Feb 2024
1647 points (99.3% liked)

Programmer Humor

25513 readers
1752 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS