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 commentsRecently all mainstream "learn to code" sources realised just making you memorise concepts doesn't work and started changing curriculum, but before that happens...
The best 2 resources I found are: - https://learnprogramming.online/ - https://scrimba.com
Both are project driven and won't hand-hold you if you want to continue, you need to proceed based on a mastery learning method.
I don't think that works as well when it is some random project from the book. Like, sure, better than dry code, but I'm far more motivated to learn when I also make something for me.
Having a nice curated problem put in front of me sets me off and it's easy from there.
But I think for more intermediate or advanced programmers it is very beneficial to go about a project in a more self-driven, free form way. Software design, exploration, research, reading specs and so on are half of the work (or more) in programming.
What I would have loved to realize when I was younger is that there's nothing you can't write. It might be a drastically simplified version compared of the real thing, but you can absolutely do it.
An operating system, a browser, a web server ("from scratch") a programming language, a video game (with a custom engine)... It's all possible with enough effort. And even if you don't want to do the up-front work yourself, it is easier to find cool, guided projects out there if you already know what you want.
All comments shown.
Couldn't load more comments. Check your connection and try again.