4 ms·
Static typing does not allow you to refactor code with confidence that you didn't break the application logic. Only automated tests can do that, regardless of t
by BMorearty 10y ago
Static typing does not allow you to refactor code with confidence that you didn't break the application logic. Only automated tests can do that, regardless of type system.
- chrismorgan 10y agoSure. But an awful lot of failures in refactoring in dynamically typed languages would be avoided by a static type system. As it happens, I am a Rust fanboy with all that entails, so I (like everyone else in such discussions) am clearly biased. My point was in jest, as the “;-)” (because HN simply discarded a U+1F609) indicated.