|
|
|
|
|
by bassislife
3459 days ago
|
|
> A good type system (e.g Rust's, Haskell's..) can eliminate all type errors from your programs. It will eliminate errors related to the use of a given programming language. It will not necessarily avoid systemic errors. The programming language is only one part of the problem. Safety is a wider issue than just the use of a programming language. Especially since the systems we use are often dynamic with changing requirements. |
|
Like I said: It will eliminate a specific class of errors, namely all type errors. Your program will literally not compile if there are any type errors.
> The programming language is only one part of the problem. Safety is a wider issue than just the use of a programming language.
Sure, I don't disagree with that statement. But it's important to recognize that eliminating whole classes of errors is extremely valuable and allows us to focus on the important things.