3 ms·
In my journey to learn Rust I sought for a person criticize my Rust skills, so I searched for a 'good first issue' in GitHub, by writing a PR in Rust I could fu
by null_deref 5y ago
In my journey to learn Rust I sought for a person criticize my Rust skills, so I searched for a 'good first issue' in GitHub, by writing a PR in Rust I could fullfil two dreams of mine
1. Learn Rust.
2. Having a code that I wrote run on large amount of devices across the world.
Eventually I ended up on MeiliSearch repo, I fixed an interesting bug, and I must say that the maintainers were super nice across all the process, a couple of months after my contribution they sent hand written letters and a bunch of stickers to all of the project contributors, one of the nicest interactions I ever had on the internet (ironically the first PR that I wrote that got accepted involved one line of CSS, which is field I'm proficient at).
- atonse 5y agoI have wanted to play around with rust literally for years and just haven’t since I’ve been intimidated that the compiler is really strict (this after 20 years of programming). Just need to sit down and get on with it. It’s going to be an incredible addon to the toolbox of skills, especially with elixir, my usual goto these days.
- option_greek 5y agoThe compiler (or in reality the borrow checker) is strict but once the program does compile, it usually is more defect free (even functionally) than one written in other languages. After a few months writing Rust, I recently had to go back and use Javascript for another project (I know drastically different worlds) and my own code gave me micro panic attacks thinking about all the ways that things can go wrong in it (I guess I'll probably end up using typescript instead in future). Overall well worth the time spent learning Rust as I feel it makes me a better programmer overall enforcing the thinking about lifetimes, return values, shared data and thread safety.
- wongarsu 5y agoI think people make the Rust compiler out to be much more scary than it is. Sure, it's much more strict than say Python, but compared to strongly typed languages like C++ or C# it's not that different in 99% of your code. People just talk about that other 1% a lot.
- stavros 5y agoThe compiler isn't so much strict in a pedantic sense. It more nudges you to avoid bugs, in a "you may want to rethink this" way. It's actually quite nice to have someone point out potential bugs in your code.