4 ms·
The dynamic vs static argument seems to always revolve around bugs. Dynamic typing people say their code is not buggy. I too do a fair amount of javascript and
by d--b 4y ago
The dynamic vs static argument seems to always revolve around bugs. Dynamic typing people say their code is not buggy. I too do a fair amount of javascript and I don’t think my code is particularly buggy either.
What static typing offers you though is the ability to refactor large project with much greater ease.
I spend most of my time refactoring a large C# codebase (10m+ loc) while other people are actively working on the code as well.
This just wouldn’t be possible without some kind of static typing. If there is a type that is used in 500 places and you have to update all uses, static typing gives you some form of insurance that you’re not breaking much.