this post was submitted on 19 Nov 2025
40 points (100.0% liked)

Programming

23557 readers
186 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] mjr@infosec.pub 1 points 2 days ago

Thank for elaborating my comment, but I never said never, only that it's usually better to avoid it.

And yven if you think it's provably impossible to get an Error back now, someone or something may change an underlying function behaviour on you in the future and invalidate your proof. There are ways to limit that with version control and pinning and so on, but it's easy for an assumption to be overlooked when merging in new versions of things.

So yes, I agree, better to use ? at least here, but like all guidelines, there may be times where you break it, accepting the risks.