this post was submitted on 18 Oct 2023
341 points (96.2% liked)

Programmer Humor

32706 readers
534 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
[โ€“] [email protected] 5 points 1 year 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

[โ€“] 9point6 2 points 1 year ago

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