3 ms·
In languages with static analysis, there is often a false tradeoff between long-lived code and security. For Python (and JavaScript and most modern languages),
by smt88 6y ago
In languages with static analysis, there is often a false tradeoff between long-lived code and security.
For Python (and JavaScript and most modern languages), security updates are mixed up with API changes. In some cases, security updates require breaking old code.
If the language has great static analysis, you get a handy guide of everywhere your code needs to change. For example, I have a C# code base that's now 5 years old and has survived through several major C# and .NET updates, and it was never more than 2-3 hours of work to just click and fix the compiler errors (JetBrains automates a lot of it, too).
Rust sounds like it has that benefit as well. The compiler is so good that broken code is easy to find and fix.