5 ms·
> coding in Rust is like playing some kind of intricate puzzle game. Tricking the compiler into accepting your code That is mostly only true for very early beg
by the_duke 4y ago
> coding in Rust is like playing some kind of intricate puzzle game. Tricking the compiler into accepting your code
That is mostly only true for very early beginners.
There are certain patterns you have to learn and understand, especially for developers not accustomed to thinking about lifetimes ( which applies to most developers that only have experience with GC languages).
And sometimes you do have to battle the compiler, even with experience.
But most of that goes away pretty quickly once the language clicks for you.
After that Rust can still feel restrictive, but that's because there are very few languages that enforce as much correctness at compile time.
That very well can mean that Rust just isn't a good fit for certain domains - which is perfectly fine!