Oh 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.
Comment on Linux royalty backs adoption of Rust for kernel code
WalnutLum@lemmy.ml 23 hours agoit would require kernel developers to be savvy in both C and Rust
From my experience knowing how both C and rust works makes you a better developer in both languages.
LedgeDrop@lemm.ee 21 hours ago
barsoap@lemm.ee 19 hours ago
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.
sugar_in_your_tea@sh.itjust.works 15 hours ago
Exactly. The kinds of things Rust yells at you for, you should consider changing in C as well.
WalnutLum@lemmy.ml 12 hours 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.
bilb@lem.monster 20 hours ago
Learning Rust made me a better C# programmer.