Live data from Hacker News

Ask HN: Books that teach programming by building a series of small projects?

news.ycombinator.com

51–60 of 204 posts

Re: Ask HN: Books that teach programming by building a series of small projects?

#51
My favourite is "Practical Common Lisp" by Peter Seibel (https://gigamonkeys.com/book/)

Not only is the book free to read (although I would suggest to pay for it if you like it!) The code to parse binary files actually "inspired" my design of an actual production application which was very flexible, succinct and, most importantly, so fast I had to spend a lot of effort convincing people the numbers are actually true.

It taught me some important lessons about how you can achieve performance with Lisp languages and the real reasons for the power of macros. Not too shabby for the first book on Lisp I red!

Re: Ask HN: Books that teach programming by building a series of small projects?

#52
Sort of like that, I've been slowly working on a rosetta code for implementations of small problems. Rosettacode.org allows you to use standard library functions so many (but not all) of their examples are useless when you actually want to see how to code something from hand in the language.

So my rosetta code only allows you to implement the main part of the thing yourself. But it's not appropriate for beginners. It's more appropriate for teaching a new language to someone who is already an intermediate programmer.

https://tinyprograms.org/

Re: Ask HN: Books that teach programming by building a series of small projects?

#53
HTDPv2 https://htdp.org/ - it's about learning to program rather than teaching a specific language.

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.

Re: Ask HN: Books that teach programming by building a series of small projects?

#54

HTDPv2 https://htdp.org/ - it's about learning to program rather than teaching a specific language. 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…

I wouldn't mind if you write some more about the book.

Re: Ask HN: Books that teach programming by building a series of small projects?

#55

Sort of like that, I've been slowly working on a rosetta code for implementations of small problems. Rosettacode.org allows you to use standard library functions so many (but not all) of their examples are useless when you actually want to see how to code something from hand in the language. So my rosetta code only allows you to implement the main part of the thing yourself. But it's not appropriate for beginners. It…

God, I hope you just found Rosetta.code off limits. That's a fantastic name

Re: Ask HN: Books that teach programming by building a series of small projects?

#57
Not a book and webdev focused, but I've been doing https://fullstackopen.com/en/ and it's been great.

The chapters are structured so you are building 2 projects at once. One where you follow along with the chapter material with example code and explanations. And a second in the exercises.

I really like it because it introduces the concepts in the context of a project, but you can't get stuck because the code is there too. Then you need to really apply it in the exercises on your own project, without the example code.

Re: Ask HN: Books that teach programming by building a series of small projects?

#60
I have done courses on udemy like this before for learning new languages and tech stacks. There are plenty of courses on there that you can usually get for $20 that will teach you by building a bunch of small apps or services that build up in complexity.
Post reply on HN