this post was submitted on 17 May 2025
495 points (97.9% liked)

Programmer Humor

23420 readers
1797 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
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] mmddmm@lemm.ee 31 points 1 week ago (7 children)

The one option that is mandated by an ISO standard.

Besides, if max and min are going to have a value without any parameter, it has to be exactly those Javascript uses. Unless you have a type that define other bounds for your numbers. And null always have a pointer type (that is object in Javascript), for the same reason that NaN always have a number type.

The only one that is bad on that list is D.

[โ€“] StopSpazzing@lemmy.world 5 points 1 week ago

D...Deez nutz!

load more comments (6 replies)