3 ms·
Unit testing sets off the footguns earlier than later. Any language that makes unit testing harder than easier is bound to have problems. This is true with Py
by bb88 4y ago
Unit testing sets off the footguns earlier than later. Any language that makes unit testing harder than easier is bound to have problems.
This is true with Python/Java/Go etc.
Anyone who says "If it compiles, it just usually works..." is bound for trouble, particularly on large scale projects -- golang being the obvious example of this.
- jstx1 4y agoI don't get why you're singling out Go - you can certainly test your Go code just like in any other language (and Go's tools for it are probably better anyway).
- bb88 4y ago> and Go's tools for it are probably better anyway Trying to detect nil pointer panics in go is a fucking nightmare. The compiler doesn't warn about it, and just lets it fly.