Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I started learning and coding Rust full-time over the last couple of months. I expected a learning curve, but boy what a steep curve it was. Simple things are simple enough, but for experienced programmers porting your patterns (especially functional programming patterns) can be challenging and interesting at the same time.

For instance, I wanted to return a function (async) from a function. A seemingly simple task, but I couldn't figure it out and I had to ask on Stack Overflow. https://stackoverflow.com/questions/61167939/return-an-async...

The answer is obvious only if you know a fair deal of Rust. Thanks to the Rust team's amazing momentum I am sure the compiler will improve over time, but for now I found passing functions and closures around a bit harder than I expected. Totally loving the language though.



The learning curve is misleading. You can achieve parity with a higher level language by copying and pasting solutions such as the one in your stack overflow post. Yet, unlike in other languages, an opportunity presents itself to learn far more about the underlying tooling used to create such a solution.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: