3 ms·
Generally good advice is: Don't program Rust like nearly any other programming languages you know. If you try to program Rust like C you are going to fight and
by atoav 2y ago
Generally good advice is: Don't program Rust like nearly any other programming languages you know.
If you try to program Rust like C you are going to fight and lose.
If you try to program Rudt like and Object Oriented Language you will eventually go mad.
If you like a Zen master let all previous knowledge and pre-conceived notions of what beautiful code has to be out of the window and do it the Rust way, suddenly things flow and stop being a pain.
And that experience will help you be a better programmer, period.
- lieks 2y agoAlso applies to: Lisp, Haskell, Smalltalk, APL, Forth, even C. Maybe you can write Kotlin like C#, or Lua like JS, but style is not portable in general.