Tech notes

Go try proposal has been closed

Proposal of built-in function called try, designed specifically to eliminate the boilerplate if statements typically associated with error handling in Go was declined.

Well, I was expecting that in Go2 will be less

if err != nil {
    ........
}

But not this time. At least I have IntelliJ live templates.

Proposal, issue and final comment.