Hacker News new | ask | show | jobs
by m0skit0 4089 days ago
Why wouldn't you take other factors into account? Or better, why would you take this factor in particular as the only factor that matters?
1 comments

For me that is the most important factor, because it directly influences the amount of code produced. Less code means less bugs and less code to read/understand when getting back into a codebase.
Then I guess you chose the wrong side. Dynamically-typed languages produce less code precisely because you don't need to specify the types. E.g. Scala is more verbose than Clojure.
I'm not sure that Scala code + types is more verbose than Clojure code + tests. (Which is what the OP argued.)
You need tests everywhere, statically typed doesn't mean you don't need to test.