|
|
|
|
|
by oxplot
3156 days ago
|
|
Of course Go has error handling. Thinking it doesn't shows lack of understanding of the language and its goals. Go's error handling is minimalist in order to fulfill the goal of making the code easy to read, understand and predict, in context of large software projects. try/except in python doesn't fit that goal: looking at a line of code in python, one cannot with any reasonable level of confidence determine what types of exception could be raised, where they will be raised or if any, unless they read the documentation of the every method call that could happen by running that line. |
|