5 ms·
Type hints in python. Structured programming in general. Rust. It took me a long time to get remotely comfortable, but once it starts to click, it's awesome ho
by kortex 6y ago
Type hints in python. Structured programming in general.
Rust. It took me a long time to get remotely comfortable, but once it starts to click, it's awesome how the structure guides your development. Worth the investment, but don't expect to be able to grok it immediately.
- modernerd 6y agoAny resources in particular that helped you grok Rust?
- kortex 6y agoHaving someone you can ask questions to is huuuge. I have a friend who knows it pretty well and that was supremely helpful to get through some initial stumbling blocks and confusions. I use Clion which is also super helpful in letting me inspect, autocomplete, and lint code before compiling. The main rust-lang.org is quite good, but beyond that nothing in particular stands out. But lots of one-off blog posts on specific topics help get through certain blocks, eg how to write traits/impls.
- modernerd 6y agoThank for the tips! I use CLion too (and even built a theme called Blackbird with good Rust highlighting). It looks like there’s a Rust mentorship program here: https://rustbeginners.github.io/awesome-rust-mentors/ https://rustbeginners.github.io/awesome-rust-mentors/
- unemphysbro 6y agoAs lame as it sounds, leetcoding in rust has helped me quite a bit.
- modernerd 6y agoThanks, am working through exercism at the moment so will try that next.
- unemphysbro 6y agoI've been working through this: https://github.com/pingcap/talent-plan https://github.com/pingcap/talent-plan
- pas 6y agoNot OP, but: jonhoo youtube streams Reading r/rust a lot... asking questions in comments.
- modernerd 6y agoI discovered Jon's channel recently and there's a lot of gold in there! Doug Milford is also worth following, although aimed more at Rust beginners: https://www.youtube.com/channel/UCmBgC0JN41HjyjAXfkdkp-Q/playlists https://www.youtube.com/channel/UCmBgC0JN41HjyjAXfkdkp-Q/pla...
- st1x7 6y ago> Rust Man, so many features and the syntax is so heavily annotated and the subjective feeling that everything you interact with is some vaguely defined overcomplicated computer science concept ("what you get back from this function is not a vector but an immutable future-closure-trait-promise-with-sprinkles, you must be familiar with those already"). Not a critcism towards the language, I'm sure that it would make much more sense if I put in the time to study it systematically, but the beginner learning experience hasn't been great. It doesn't seem like a language that you can just dip your toes in, you need to go deep to see the benefits.
- kortex 6y ago> It doesn't seem like a language that you can just dip your toes in, you need to go deep to see the benefits. It really is. Hence why I list it as living up to the hype, you really have to buy in to it to "get" the hype. There needs to be a corpus of different skill levels of Rust programs to study, not just intro snippets.