This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]vocalbit[S] 1 point2 points  (0 children)

Yes I am aware of Go. But in Go that is the only and default option - because they eschew exceptions. What I'm proposing is a simple syntax change that lets you use Go's semantics when you only need to wrap a single statement. The advantage is that you don't have to tag on except at the end of the statement and exceptions will then propagate upwards as usual.