News for hackers. Stuff that matters.
Re:From Python to Go and Back Again by 0x434D53 on Sunday October 18, 2015 @12:31AM (#10407230)
You are not forced to handle errors. Or do you check for the errors returned by fmt.Print? I guess not.

This was my point: In many areas go forces the developer to the right thing (no unnecessary imports, gofmt...) and does not rely on developers discipline. But when i comes to error handling it does.

What i would wish for is some extended error handling supported by the compiler. I don't want a stack trace, but the compiler easily could produce for example a line number where the error was returned.

There are no comments on this comment yet.