this post was submitted on 18 Oct 2023
329 points (96.1% liked)

Programmer Humor

32045 readers
2006 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
[โ€“] jana 5 points 11 months ago (1 children)

There are some cases where any must be used instead of unknown but they usually involve generic constraints and seem more like a bug than intended behavior

[โ€“] [email protected] 2 points 11 months ago

Ah you're right there, and I also agree, that feels more like a bug than by design