this post was submitted on 18 Oct 2023
325 points (96.0% liked)

Programmer Humor

32558 readers
639 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@leminal.space 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@lemmy.world 2 points 1 year ago

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