|
|
|
|
|
by athst
5204 days ago
|
|
This is a really great article. I didn't realize that Slate gave their journalists a month out of every year to do something like this. I think the description of her initially trying to learn ruby is really instructive for everyone who wants more people to learn how to code. There are just simple things you don't think about that a beginner can really get hung up on. For example, why can't you enter code into a word processor? How do you run scripts? I don't think programming books do a very good job of explaining these types of things, even now. Zed Shaw's Learn X the Hard Way series is probably the best at it I've seen so far. |
|
http://learnpythonthehardway.org/book/ex1.html
I met with a beginner and watched her go through the first exercise, and she didn't understand that she's needed to type "print" and not the line numbers. I talked her through it then realized if I just show a screenshot then people could step from literal thinking about the code blocks in the book to abstract thinking in one exercise.
Same for the terminal/powershell screenshots. People didn't get that they just type into powershell. They thought they had to run python, then type the powershell commands into the python REPL.
Doing this kind of "usability study" on my books, and having the comments on each exercise, has really taught me a lot.