Re:Small exercises to get you used to reading and writing Ru...
by pc86 on Tuesday February 02, 2016 @10:40AM
(#11020073)
This looks pretty neat! Would you recommend this for someone wanting to learn rust from scratch who is proficient in other languages?
Re:Small exercises to get you used to reading and writing Ru...
by carols10cents on Tuesday February 02, 2016 @11:02AM
(#11020234)
That's basically my target audience :) It's not comprehensive yet, but the idea is to give you practice with Rust syntax and compiler errors.
Re:Small exercises to get you used to reading and writing Ru...
by MuEta on Tuesday February 02, 2016 @09:26AM
(#11019558)
> yinz
So a Pittsburgher with a passion for rust? Color me surprised.
Re:Small exercises to get you used to reading and writing Ru...
by dikaiosune on Tuesday February 02, 2016 @09:31AM
(#11019584)
Isn't it in the rust belt?
Re:Small exercises to get you used to reading and writing Ru...
by carols10cents on Tuesday February 02, 2016 @09:44AM
(#11019641)
Indeed it is!
Re:Small exercises to get you used to reading and writing Ru...
by solipsism on Tuesday February 02, 2016 @12:23PM
(#11020818)
That's... the joke...
Re:Small exercises to get you used to reading and writing Ru...
by carols10cents on Tuesday February 02, 2016 @09:44AM
(#11019638)
> So a Pittsburgher with a passion for rust? Color me surprised.
Guilty as charged :)
Re:Small exercises to get you used to reading and writing Ru...
by untothebreach on Tuesday February 02, 2016 @11:33AM
(#11020447)
holy cow...just went looking for the origins of "yinz" and found out about "western pennsylvania english." My wife does the "needs/likes/wants + past participle" thing listed in the wikipedia article[1], and I never knew it was commonplace in some parts of the U.S.
1: https://en.wikipedia.org/wiki/Western_Pennsylvania_English
Re:Small exercises to get you used to reading and writing Ru...
by bwanab on Tuesday February 02, 2016 @01:03PM
(#11021118)
Hmmm... It is a common usage in Appalachian East Tennessee also. I suspect it's more generically Appalachian than just Pennsylvania.
Re:Small exercises to get you used to reading and writing Ru...
by steveklabnik on Tuesday February 02, 2016 @12:40PM
(#11020939)
Wikipedia says only outsiders say "Pittsburghese", but I've only ever heard it, and never "Western Pennsylvania English."
See also http://www.pittsburghese.com/
Re:Small exercises to get you used to reading and writing Ru...
by cgh on Tuesday February 02, 2016 @12:43PM
(#11020965)
Thank you for doing this. Is there any chance we could see exercises involving lifetimes? I've found this is one of the trickiest Rust-only concepts to really understand.
Re:Small exercises to get you used to reading and writing Ru...
by carols10cents on Tuesday February 02, 2016 @01:22PM
(#11021263)
I will try!!
Re:Small exercises to get you used to reading and writing Ru...
by CoffeeDregs on Tuesday February 02, 2016 @02:50PM
(#11021975)
Thanks for putting in the effort to produce this. I'm excited to learn Rust and to port a few projects over to it, but I haven't gotten traction to get past the first few steps. Your packaging-up of the examples is a great way to start.
Re:Small exercises to get you used to reading and writing Ru...
by Eridrus on Tuesday February 02, 2016 @03:08PM
(#11022109)
For everyone looking for exercises in other languages, there is actually a project to curate exercises for programming languages called exercism.io
Maybe the OP could contribute their exercises there, since their Rust exercises were not very good when I tried them.
Re:Small exercises to get you used to reading and writing Ru...
by chc4 on Tuesday February 02, 2016 @03:38PM
(#11022327)
There's also Rosetta Code, which has tons of problems and language implementations. It's tons of fun to read through.
Re:Small exercises to get you used to reading and writing Ru...
by carols10cents on Tuesday February 02, 2016 @03:39PM
(#11022337)
Yeah, I love exercism! There's definitely conceptual overlap, but IIRC the exercises in exercism were more of the variety where you're given a problem and you start from scratch, then others give feedback on your solution. I'm not sure if the intentionally-broken starting places of rustlings would fit in?
Re:Small exercises to get you used to reading and writing Ru...
by maxbrunsfeld on Tuesday February 02, 2016 @03:12PM
(#11022135)
This looks great. Bookmarked for when I get around to learning Rust.
If you have any particular Rust concepts that you'd like exercises for, please let me know here, file an issue, or even contribute an exercise! Errors that you've hit that took you out of your flow of working on something else are great candidates. I haven't been adding new exercises recently, but I would like to continue expanding.
Thanks! <3