I want to propose my own counter-proposal to the discussion thatā€™s ongoing with Go and error handling.

Here it is: https://docs.mills.io/ix4qDHMnQUSPxZ5tXz12Vg?view

Itā€™s very rough and needs much more work, but essentially I want to propose the following change to the languageā€™s grammar:

f := os.Open("foo.txt") or (e error) {
    log.Fatal("error opening file; %s", e)
}

ā¤‹ Read More

Participate

Login or Register to join in on this yarn.