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

Programmer Humor

32568 readers
428 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

[โ€“] [email protected] 2 points 1 year ago

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