|
|
|
|
|
by csomar
2292 days ago
|
|
Rust is not a complex language; it's otherwise: Rust has higher-level abstractions that makes it much easier to program with. Actually, I was trying to explain this a few days ago: https://users.rust-lang.org/t/any-possible-improvements-to-t... Rust has an Iterator type. It might be a bit "complex" to understand at first sight, but once you grasp the concept, it makes programming much easier. And your code is much more readable too. I try to avoid loops/conditionals these days; if I'm using them, I probably can express that in a Type and have a descriptive name/functions for that type. There are many more types/syntax that makes programming with Rust a marvel: Result/Option types, generics, macros, async/await, error chaining, etc... |
|
It's also pretty different to what most people are used to. I found it a approach to polymorphism refreshing, coming from Haskell, but that's not a typical pathway. The average Java dev will need some time to get used to how extensive generics are in the language.