3 ms·
I didn't want to nick-pick here, OP could've just said that. It's the same as not having a ternary operator. Go is no language that allows expressing code in f
by dx034 10y ago
I didn't want to nick-pick here, OP could've just said that.
It's the same as not having a ternary operator. Go is no language that allows expressing code in few lines, but by that they keep it simple to read.
Even though I doubt that proper exception handling is shorter than the Go version. Many developers just choose to not do that and handle all Exceptions the same, or using try-catch blocks that stretch over hundreds of lines. It's indeed faster then, but not a good comparison.