2 ms·
1. garbage collection is amazing for developer productivity if you can afford it. 2. if you don't know if you can afford it, you can.
by baq 4y ago
1. garbage collection is amazing for developer productivity if you can afford it.
2. if you don't know if you can afford it, you can.
- pkolaczk 4y ago> 1. garbage collection is amazing for developer productivity if you can afford it. Probably not for everybody. I haven't noticed any significant productivity boost when coming from C++ to Java years back, and then I also can't see any significant productivity decrease when switching from Java to Rust. I feel the unavailability of GC is widely offset by other features that make Rust more productive than Java. Surely, I got stuck once or twice while learning (Rust is harder than Java) but once it clicked, I know which things to avoid and generally it goes very smoothly. Now there are many things I love about Rust and I constantly miss in Java. (The number of times I wished I had RAII in Java) > (The number of times I wished I had tracing GC in Rust).
- baq 4y ago> coming from C++ to Java if you were a competent C++ programmer, yeah, i can absolutely see that; nowadays, most people start with a GC-ed language and get tripped up all the time if things they take for granted aren't there. unsurprisingly.