▲ | mariusor 2 days ago | |||||||
If we're talking about feelings, I find it "not likely" unless, perhaps as a side-effect of rethinking the whole feature all together. Or do you have some actual indicators that the issues with how modules are likely to break your work directory are related to problems that rust avoids? | ||||||||
▲ | IshKebab 2 days ago | parent [-] | |||||||
Yes I do. Rust's strong type system makes logic bugs less likely, because you can encode more invariants into the type system. This also makes it easier to refactor and add features without risk of breaking things. The borrow checker also encourages ownership structures that are less error-prone. Finally the more modern tooling makes it easier to write tests. If you're thinking "where is the peer reviewed study that proves this?" then there isn't one, because it's virtually impossible to prove even simple things like that comments are useful. I doubt there's even a study showing that e.g. it's easier to write Python than assembly (although that one probably isn't too hard to prove). That doesn't mean you get to dismiss everything you disagree with simply because it hasn't been scientifically proven. The things I'm talking about have been noted many times by many people. | ||||||||
|