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
tmtvl#
Common Lisp: A Gentle Introduction to Symbolic Computation(https://www.cs.cmu.edu/~dst/LispBook/) has you build a number of small applications, like a substitution decipher application, a plotting function, and more, which it calls "keyboard exercises".
newsoul2 replies#
But is that suitable for a beginner?
nesarkvechnep1 reply#
Yes, it is. It’s not about machine learning, neural networks but the more approachable AI of the 80s.
globalise831 reply#
Haven't tried his, but can GPT3 write code that results in 1980s style AI?

Continue this thread — 1 reply

larve#
It depends on what you mean by beginner, but I would say for someone who has been futzing with a couple of js boot camps or building some php websites, it’s what takes you from hacking to software development. Completely new to programming, maybe, if someone has a background in maths or physics and has a sense of “rigor” in thinking.

But, of all the books I worked through, this is the one I remember just having tons of fun because the examples are so cool and the code so… clear. I think norvigs programming course in python (which I only skimmed) could be a great modern equivalent.

dartharva#
I don't know why jtimiclat's comment recommending Al Sweigart's books got downvoted and faded out, they are indeed quite good for beginners wanting to get their hands dirty with programming instead of cramming it in an academic way.

Not to mention they're all freely available and give excellent value for both time and money: https://inventwithpython.com/

rg111#
A similar great book is Realm of Racket.

Load more comments