Lurker News
It 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 comments
maCDzP1 reply#
I like “The Elements of Computing Systems: Building a Modern Computer from First Principles”.

You build a whole computer from scratch through small projects.
Sure, you want learn a specific language, but you’ll grock programming in general.

kriro#
I highly recommend this, it made the whole topic of "how does a computer actually work" approachable for me. On their website there's a projects section where they highlight things their students did and there's a project that re-creates the built computer in an FPGA (I belive some ice40) I also recommend this as a follow up.
smckk#
I recommend the Deitel[0] series for Python and C family languages like Java, C# etc. With hundreds of complete examples to follow (not code snippets) and exercises to challenge you, you will do better with these books as a beginner.

My strategy is to get to the 10th chapter of the book skipping the exercises, then go back and try them with a better overall understanding of the language and its nuances.
Great series.
[0] https://deitel.com/

Load more comments