2 ms·
> Describing some code as "bug-ridden garbage" betrays a negatively judgmental frame of mind Far from it. In fact, the best thing about a correctness-oriented
by zozbot234 5y ago
> Describing some code as "bug-ridden garbage" betrays a negatively judgmental frame of mind
Far from it. In fact, the best thing about a correctness-oriented language like Rust is that you can immediately tell when stuff does not compute (the compiler will error out with a useful diagnostic, or else it will be in a small 'unsafe' block with easy to check safety conditions). Which makes it way easier to be less judgmental about all sorts of stuff.
- carlmr 5y agoThis really describes quite well why Rust is such a joyful language to work in. You might still write garbage, but the compiler constrains the types of garbage you can write to a much smaller subset. Whenever people say that a skillful programmer can write well-working C++, I don't disagree, but in my experience it continues to fail on projects with more people involved. If your project has size N=1, and you're skillful it's not an issue, if you have N=2 or N=3, you might still be able to review everything and find very competent contributors. But for bigger N, at some point you'll have average or below average skilled contributors in the project, you won't be able to review all contributions. A strongly typed language, strict compiler, standard formatter, and standard linter however can scale in this way. Rust offers all of these.