Ask HN: I want to learn to program (in Ruby). How can I get to "doing", easily?
To get started, I'd rather do than read. I'd rather someone tell me, in as much detail as possible: "do this this and this to get your environment up and running." (I'm on OSX 10.5.)
Then, I'd prefer if someone would just give me a bunch of "cool code" (meaning code with practical applications -- i.e. something i can use/experience right away, perhaps a very simple blog) to write and run (with specific directions as to how to do both), so that I'm able to experience it first hand.
And then I'd like the concepts to be explained to me (e.g. what variables, strings, classes, instances, objects, etc., are), after I've experienced/interacted with/done it.
I guess I wish learning to code was like learning to throw a frisbee, or ride a bike.
Perhaps it is, but that hasn't been my experience...
I'd happily (and eagerly) pay someone to make the initial process and core concepts of learning to code (mainly for web-development) a much more user-friendly experience...
Paying for stuff will make you feel guilty if you don't use it. As a bonus, you get to support the people that make great stuff.
Some other sites to check out are: www.railscasts.com (Free) www.pragprog.com (not free) www.peepcode.com (the rails screencasts here were 'meh' and not free)
http://railsforzombies.org/
Good luck!
I found the following useful:
- tryruby.org (actually _why's precursor)
- Hartl's railstutorial.org
- Pragmatic Programmers Programming Ruby book
- Peepcode.com videos (great for getting started very quickly on CRUD apps
I saw that nobody's mentioned the previous HN Asks about learning Ruby, so I've compiled some of them here:
http://news.ycombinator.com/item?id=1623619
http://news.ycombinator.com/item?id=1984323
http://news.ycombinator.com/item?id=1544100
http://news.ycombinator.com/item?id=841951
You can find more at:
http://www.google.com/search?q=site%3Anews.ycombinator.com+l... http://news.ycombinator.com/item?id=1676271 http://news.ycombinator.com/item?id=1877668
some ppl rate the "pickaxe" book (google it)
other than that, read code, try stuff, experiment.