4 ms·
> Go goes into: oops our error handling requires 2 times as much code as the actual program, so people are just panicking everywhere. That sounds more like laz
by bGl2YW5j 8y ago
> Go goes into: oops our error handling requires 2 times as much code as the actual program, so people are just panicking everywhere.
That sounds more like laziness on the part of the programmer, rather than the language design.
- chowells 8y agoAny language that doesn't acknowledge programmer laziness is faulty. All programmers will have times where they do only what is easiest to do right then. Sometimes you just need to get the happy path working, damn everything else. Good languages account for this, and make the best choice the easiest choice whenever possible. If the best choice is twice as much work, there will be a lot times when the language encourages the programmer to do something else. I don't consider this a fault on the part of the programmer, I consider a fault on the part of the language.