3 ms·
Programming in Lua is an excellent example of what you're looking for. The first edition is available online at http://lua.org/pil/ http://lua.org/pil/. Slashdo
by enduser 18y ago
Programming in Lua is an excellent example of what you're looking for. The first edition is available online at http://lua.org/pil/ http://lua.org/pil/. Slashdot has a good review of the Second Edition at http://books.slashdot.org/article.pl?sid=06/10/25/147203 http://books.slashdot.org/article.pl?sid=06/10/25/147203.
For Python, I believe you're looking for http://www.diveintopython.org/ http://www.diveintopython.org/
- scott_s 18y agoMy endorsement of Dive Into Python: The author assumes you know how to program, and teaches you how to program in Python. He does this by, at the beginning of a section, presenting a working chunk of code between 10-30 lines long. Then he spends the rest of the section explaining what those lines do, and explaining when you'd want to use those techniques. I liked this approach because I knew where he was going in each chapter, and I could use my own experience as a programmer to figure out what was going on, and skip his explanation if I already figured it out.