News for hackers. Stuff that matters.
Re:Things I hate about Rust by b0sk on Wednesday May 20, 2020 @11:45AM (#23248255)
I know exactly what you feel. I am kind of in the same boat (I am a C++ developer trying out rust). One example is the lifetime specification makes it look like code from the code golf languages i.e. "&'a mut"

However, this sense is reducing every-time I see an example of some idiomatic Rust code. I appreciate that they've addressed a lot of C++ pain points.

1. Traits are awesome. (Simon Brand: How Rust gets polymorphism right - https://www.youtube.com/watch?v=VSlBhAOLtFA)

2. The lazy pipeline styled programming is idiomatic and produces optimal assembly. (Ranges in C++20 )

3. Extremely powerful enums. Straight out of functional langs.

These are only a few of the things top of my mind but it makes me appreciate Rust more and more.

There are no comments on this comment yet.