2 ms·
In my experience, it's the opposite. Static typing is great but not essential when the program is small and you can keep the model in your head, but the larger
by kccqzy 8y ago
In my experience, it's the opposite.
Static typing is great but not essential when the program is small and you can keep the model in your head, but the larger the program, the more you benefit from static typing. Static typing helps with tiny refactorings, but it truly shines when making non-trivial changes that don't play well with the existing model; it's as effortless as making the desired changes to the model, then mindlessly fixing all compile errors, and it will likely just work afterwards.
- sacado2 8y agoPlus, static typing acts as a formal documentation, which is more than welcome when you get to maintain someone else's code.
- therockhead 8y agoFor me this is by far the best feature of static typing.