3 ms·
Rust can be hard to refactor. Not sure if that's a problem with Go, but it's a real cost.
by Retra 11y ago
Rust can be hard to refactor. Not sure if that's a problem with Go, but it's a real cost.
- TheHydroImpulse 11y agoHow so? From my experience, I was able to make massive changes and the compiler would guide me through to make sure I didn't miss anything. If it compiles, it'll generally work minus any logical errors/changes.
- kibwen 11y agoThere are definitely refactoring woes to be had when taking an existing struct and changing it such that it now stores a reference in one of its fields, requiring lifetime parameters to trickle down through your program. The compiler guides you in getting it all right, but it's something that I'd rather see an IDE do automatically in the future.