The right first book depends on what you want your first programs to do. Some give you projects to finish, and some teach you to break a problem into pieces before you write much code. Start with the kind of exercise…
Items4The creator’s order
- 1
From Python crash course (2015)Python Crash CoursePublished Jan 1, 2015Start with Eric Matthes if you want to build something relatively soon. The book moves from Python basics into larger projects, including a game and data visualization. You can finish one project and then change something about it, which is a good test of whether you understand the code you just…0
- 2
Think Python (2009)Published Jan 1, 2009Allen B. Downey is a good fit for a learner who wants each exercise to sharpen an idea. Use the chapters on functions and iteration when you find yourself writing the same steps repeatedly. The small examples also make it easier to stop and work out why a program did what you didn’t expect.0
- 3
How to Design Programs (2001)Published Jan 1, 2001Matthias Felleisen and his coauthors teach a repeatable process for designing programs. You start by deciding what information goes in and what result you want, then work through examples and tests. The exercises use teaching languages in DrRacket. Try this next if you can follow tutorials but…0
- 4
From Structure and Interpretation of Computer Programs (SICP) (1985)Structure and Interpretation of Computer ProgramsPublished Jan 1, 1985Harold Abelson and Gerald Jay Sussman, with Julie Sussman, use Scheme to look at what a program is and how one piece of code can describe a whole family of computations. The abstraction exercises repay a slow, hands-on read. Save this for when you’re comfortable spending real time on exercises.0