Skip to content
Discussion options

You must be logged in to vote

What would be the point of doing this?

It seems to me that the only point is that it would occasionally made code shorter. But this feature would not be useful that often and it would make the code less clear: when you see return;, you wouldn't be able to immediately tell what exactly does it mean. For these reasons, I think this feature would not be worth it.

Replies: 6 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
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
6 participants
Converted from issue

This discussion was converted from issue #2563 on October 28, 2020 08:34.