3 ms·
Rust is hard, yes, but does it matter?
- PaulHoule 5y agoYou have a limited cognitive capacity. If the domain you are working on is hard and the semantics of the language is hard you are getting closer to cognitive overload with the symptoms of: slow development, features not implemented, the very hard to solve bugs caused because of mismatch between the application domain and the application (e.g. those NPEs are usually shallow!) You might get past this by using the facilities of Rust such as macro expansion to create a DSL in which you can build out the application quickly.
- oxff 5y agoI don't think it is hard, nor do I think basic Rust has a steep learning curve. I understand someone with pre-knowledge from 20 years of grinding C++ having maybe hard time learning it since the compiler would just error when you try to do some common C++ things. But as a beginner, I picked it up as my second language in 2020 after like 1 month of JS. Wasn't particularly hard to learn it as a new programmer. For me, Erlang / Elixir is probably the lang I'll never be able to learn. Brain just goes off when I read the code / docs.
- darthrupert 5y agoYes, it definitely does matter. Every inch of cognitive load that doesn't bring direct benefits to what you're solving is a waste. Other things like motivation may easily overcome the consequences of that waste. There's certainly a lot of (perhaps hype-generated) motivation in the Rust community, like this article demonstrates.