Nah it’s a different axis. Rust doesn’t have a GC, you do need to think about memory, it’s just that the compiler generally enforces things for you. You learn to think like borrowck thinks because you don’t want to get yelled at. Going back to C then you suddenly mistrust a lot of code a lot more, and rightly so.
Comment on Linux royalty backs adoption of Rust for kernel code
LedgeDrop@lemm.ee 1 year agoOh absolutely, but you could argue the same for learning lisp or mastering any functional programming language (list comprehensions, etc). It will improve your design patterns when you go back to an object oriented language with some elements of functional programming.
barsoap@lemm.ee 1 year ago
sugar_in_your_tea@sh.itjust.works 1 year ago
Exactly. The kinds of things Rust yells at you for, you should consider changing in C as well.
WalnutLum@lemmy.ml 1 year ago
Again from my experience, knowing lisp (yay guix and emacs) definitely helps me write more elegant code in every language.
I also have to explain almost every single thing I write in code review.