In case you don't know, C is the successor to B (which used imperial variables). There was a planned successor to C called D, which would use all unitless quantities, like they do in Fermi approximations, but it turns out those aren't very good. That's why we have C++ (which supports metric and imperial) instead.
Programmer Humor
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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
What? Really? I though that's what the strong C metric/imperial (strcmp) function was for
What do you mean "planned successor"?
That's something else stealing the name. As you can see, the wikipedia page doesn't even mention support for unitless metrics as variable types.
What do you mean by "imperial" variables I've never heard of this
Whenever you compile them, they play the Imperial March
It is by contrast of non imperial variables.
Experial variables, they’re called.
“Copilot is for entertainment purposes only”
AI is the most successful media franchise in human history
At -1b $ profit?
0x1 is a hug and a kiss for 1, the loneliest number
The other day when asking about the sex ratio of chickens, it told me that fertilized eggs turn into male chickens while unfertilized eggs become female chickens.
Clearly LLMs are the future, poised to replaced all the jobs, except the jobs of CEOs.
Weirdly and oppositely this is actually how bees reproduce. Fertilized eggs become female, unfertilized become male
Parthenogenesis only makes sense if the unfertilized offspring is male. Because that way one female can create males to fertilize her to make females.
lol damn had it wrong all this time.
I'd love to write the actual explanation here, but it's a long one.
I was asked to get the AI to create documentation for an application. I may just do that for the ha-Ha's.

Litre... lmao
A bucket of bytes. 🙃
Yeah? Perfectly normal unit.
Idk it just doesn't seem to fit in nicely with char, int, float, and double.
I hate having a pint overflow error. It goes everywhere, and then you have no pint.
Well you need something for your floats to float in, don't you? And thats measured in litres of course
Those are types, not units
Numbat has them
so 1b is 1 butt or approximately 481l.
"The butt is an obsolete English measure of liquid volume equalling two hogsheads"
that puts things in context
The butt is an obsolete English measure
Not for long
How much is 1 in chicken?
A henway.
If I had at least a centimeter of time I could explain. Alas, I have only three kilos.
In American units, 1 foot.
Or perhaps I misremembered, maybe it was just 1 toe?
Magic = making shit up
AI = magic sparkle ✨
Therefore
AI = making shit up ✨
Magic = making shit up
AI = magic sparkle ✨
Therefore
AI = making shit sparkle up ✨
making shit up sparkle ✨