News for hackers. Stuff that matters.
Re:Ask HN: How do you learn by doing? by andrei_says_ on Sunday November 27, 2016 @06:25PM (#13052261)
I learned ruby by doing simple exercises. Basically tinkering and getting a feel of how things work.

Think of learning as an interactive loop: you try something and see the outcome. Like, if you're learning to throw a baseball, you try a million of small adjustments until your body-mind gets a feel of the movement and the associated outcome (read The Inner Game Of Tennis).

Similarly, when programming, your mind starts thinking and imagining in the constructs it experienced and internalized. Getting a feel of these constructs and patterns is the result of using them enough times to build things or solve puzzles.

If you want to get a feel of ruby, I recommend going through the exercises here:

https://github.com/JoshCheek/ruby-kickstart

The videos are optional, just download the repo, set up ruby and rspec, open your favorite text editor and you're set.

There are no comments on this comment yet.