Re:Ask HN: Will Rust ever become a mainstream systems progra...
by pmarreck on Monday April 10, 2017 @06:35PM
(#14083163)
> A sign of a good language is to as much as possible make invalid states illegal by design
This is exactly the insight that will probably (if I can help it) keep me from leaving the functional language space ever again.
I disagree, segfaults can arise out of simple mistakes in rare cases that aren't always immediately obvious - let alone a segfault in a complex system.
A sign of a good language is to as much as possible make invalid states illegal by design. Why, if you can reliably check for bad memory use with the compiler, would you not do so? Toughness is no measure of coder talent, otherwise the best of us would only be using assembly for everything.