Skip to content
Discussion options

You must be logged in to vote

Since you can already write this as catch {}, this seems like a non-starter proposal.

  1. This is saving almost nothing (just 3 tokens).
  2. This sort of behavior is exceedingly rare.
  3. This sort of behavior is discouraged as swallowing exceptions is considered a very bad practice.

I cannot envision a world where the language would put in the effort to support something that would be near universally panned as a bad idea.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by YairHalberstadt
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #2151 on October 21, 2020 07:26.