4 ms·
This is not at all my experience, neither with my own code or code other people produce. Unless the problem is extremely trivial the solution is very unlikely t
by 59nadir 8y ago
This is not at all my experience, neither with my own code or code other people produce. Unless the problem is extremely trivial the solution is very unlikely to work without a few test runs. The bigger point in all of this is that statically typed languages at least have some kind of check mark they can put on your code to say "Yeah, at least the types make sense".
They also encourage designing with types in order to enforce business logic, which is something you don't get in any of the dynamic languages.
- randomsearch 8y agoAgreed. Have written a lot of code in Ada and Python, I have taught both of them. The fact that Ada code often works first time is something almost every student notices at some point. I have far more experience in Python, and I don’t think I’ve ever made non-trivial code work the first time.