2 ms·
No, but depending on the size of your code base and your available budget, it can get prohibitively expensive really quickly. Static typing eliminates entire c
by bitwize 12y ago
No, but depending on the size of your code base and your available budget, it can get prohibitively expensive really quickly.
Static typing eliminates entire classes of bugs. The cost of the up-front inconvenience to the programmer is tiny compared to the ongoing maintenance costs of possibly-incorrect, we-won't-know-for-sure-until-that-code-path-executes-in-production dynamically-typed code.
This is dependent on many variables but a good rule of thumb is that for any project bigger than a doddle, it's a safe bet to just fucking use a statically typed language.