because it doesn't have assert.
For further actions, you may consider blocking this person and/or reporting abuse
because it doesn't have assert.
For further actions, you may consider blocking this person and/or reporting abuse
Loft Green -
Bleuio tech -
Adam Prendergast -
Sibabale Joja -
Top comments (3)
The lack of assert is definitely the strangest omission in Go to me. They say they didn't include it because they were afraid programmers would use it instead of handling error cases, but I have literally never seen code and thought this code has too many asserts. Most code needs a whole lot more asserts, really.
The joke is that I've seen lot of "carrier grade" code that is basically
well, tripping an
assert
is at least better than memory corruption ¯\_(ツ)_/¯