|
|
|
|
|
by sfifs
2436 days ago
|
|
While Go has issues with lack of functionality in error handling, I think the biggest win has been treating error as value and returning error via multiple return values paradigm. It forces the programmer to be aware of the possibilities of errors when using functions and explicitly handle them. When working in other programming languages, this is something I sorely miss and have to resort to ugly and non intuitive try catch constructs which feel like "bolt-on magic" rather than a natural part if the program. IMO this feature makes up for most of the stuff that's lacking. I'm not sure where you're going with the stack traces complainr. It is pretty trivial to get it in Go. |
|