by hackits · 9y ago · 0 comments
Java/C# are boring, but once that little script grows into a massive beast you will be glad you can rely on the compiler doing a basic unit test of your program.
This is even considering that even though you have a huge amount of advantage with a dynamic type system most people don't end up using it. (http://neverworkintheory.org/2016/06/13/polymorphism-in-pyth...)
Not if I bother to write a few suitable unit tests, which I should really be doing anyway. Typechecking is absurdly far from substituting for checks that my code actually does what I intended it to do.
(As opposed to automated functional tests or pure regression tests.)
Also that evidence was comparing test driven against test later, not against no test. That project tested was small enough and short enough to be ran by a single dev.
I'd say 90% of developers, which includes a lot of good ones too, never learned to write good unit tests. Poorly written unit tests are worse for productivity and no better for correctness than no unit tests.
The other problem is when you're starting out you lose out on a lot of historic perspective. You get smashed over the head with Maven, Spring 1,2,3 (ORM, JPA) inverse versioning code, Hibernate, Transactions, Annotations, Servlet, JSP document/JSP pages.
Each collectively take about a year to get confident to give accurate quotes for large government projects. Let alone figuring what the hell the framework is doing.