Ask HN: Books that teach programming by building a series of small projects?
473 pointsIt is common knowledge that when first learning programming, one should start with small projects to build something real rather than learning rules and syntax of the language only.
Which are some of the best books that take a project based approach in teaching programming to a beginner?
Comments (203) 92 threads
Earlier commentsIt has a collection of blogs for building various small projects to learn different languages.
* Projectbook https://projectbook.code.brettchalupa.com/
* Project Based Learning https://github.com/practical-tutorials/project-based-learnin...
This is a bit on the edge of the domain that you're asking about (not really for beginners, and proofs are perhaps a somewhat niche type of programming) but I learned a lot from this and many people don't seem to know it, so I think it belongs in the list.
I thought the little projects you build along the way struck a good balance of interest, e.g. you're building a snake game by section 2 (but crucially you've already been exposed to how to think about data so you're not just dropped into the deep end with some boilerplate to fiddle with).
Anyway, i could write tons of praise for this book but it's convinced me to ditch python for teaching newbies and i LOVED python for getting newbies started real quick with projects for years.
One striking difference compared to most "beginner languages" is the Lisp-like syntax. I think focusing on problem solving rather than learning syntax is a great goal, but does this particular choice of a language make it harder for your "students" to continue learning in another language?
I'm assuming they would switch to a more popular language at some point (with syntax that resembles C), so I'm curious what that transition is like for beginners.
https://www.amazon.com/Road-learn-React-pragmatic-React-js/d...
All comments shown.
Couldn't load more comments. Check your connection and try again.