Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

311
How Rust Made me a Better Developer
Post Body

I've been learning and working with Rust since early this summer, and I quite frankly love it. It's also made me a much better developer than I used to be.

Who Am I?

I am currently on a team of one where I am maintaining a 20 year old C /etc legacy application, and have been working on this product for seven years now.

So I have experience dealing with all the different eras of C and other languages involved in the product suite, and balancing the need for modern rewrites and refactorings of old code, and achieving productive speed and results.

Okay, now, get to the meat!

So, one thing that really appealed to me from the start for Rust was the way it was designed to eliminate common mistakes that can be eliminated by the language/tooling, from the enums, to the powerful borrowing and ownership model.

It forced me to learn more about what was going on underneath the hood, and through this subreddit, exposed me to a lot of very advanced resources on topics as varied as type theory, to exception handling, to asynchronous programming.

But what really happened to make me a better developer is that the mistakes I was making were ones the tooling and language design are made to catch. So I'd make them, get a compiler error, and that would interrupt my flow.

So then I started pre-emptively coding to avoid those errors, ie, writing correct Rust code. I had to think about ownership, borrows, references, and type theory as I designed and wrote code, in order to avoid compiler errors.

IE, negative reinforcement made me adopt behaviors to avoid the perceived negative reinforcement, which made me learn correct habits of coding.

And this has carried through to my day job. The C code I write is now more correct, safer, and effective, than it was previously, because of what I learned from Rust.

So this is a thank you to the community and the dev teams involved.

Author
Account Strength
100%
Account Age
13 years
Verified Email
Yes
Verified Flair
No
Total Karma
20,627
Link Karma
4,816
Comment Karma
15,646
Profile updated: 4 days ago
Posts updated: 7 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
5 years ago