3 ms·
>Most people stop feeling like they are fighting with rust a few months into using it. The borrow checker is something that becomes second nature People keep s
by coldtea 1y ago
>Most people stop feeling like they are fighting with rust a few months into using it. The borrow checker is something that becomes second nature
People keep saying that, but I've also seen many who've used Rust for years, in big projects, say the opposite: it gets slightly better as you learn to oblige the borrow checker instictively, but it remains always a kind of annoyance and a friction.
- surajrmal 1y agoPerhaps that's due to only learning how to treat the symptoms rather than the cause. Building intuition requires understanding why the compiler prefers something different. People coming from C++ tend to get this fairly quickly as they understand the problems rust solves for them, but folks coming from higher level languages don't always see it the same way because they may have not had to deal with those problems.