2 ms·
Sure, but if you want to get correct software you have to learn about the language you're using. The borrow checker and quirks are just concrete manifestations
by k__ 10y ago
Sure, but if you want to get correct software you have to learn about the language you're using. The borrow checker and quirks are just concrete manifestations of that fact.
- pimeys 10y agoBut when you have some months behind with daily Rust usage, basically the compiler just helps you to write correct code. I usually write code fast and then start iterating with the compiler to get everything right. If I need to fight too long with the borrow checker phase, I know my structure is wrong and I should rewind a bit and try again.
- k__ 10y agoI didn't want to say that JS' quirks are better than or equal than Rusts borrow checker. I just wanted to say people are hating on the borrow checker, while they gladly invest time in learning quirks and I don't understand why :)
- pimeys 10y agoBut I must say, I was also kind of upset the first couple of weeks when always getting errors whatever I tried to do with Rust. And spending lots of time fixing those errors. When you learn the style, it's very easy to work with, but the first two weeks were a massive slap to my overblown programmer ego... :D