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

Show all comments

Showing thread 1 of 92

azemetre4 replies#
While not for beginners, if you'd like to learn rust I recently finished "Command line Rust" [1].

It was my first introduction to rust and the book was quite enjoyable. It starts off with teaching you the very basics of a command line (what it means to exit, true, or false, etc) and each chapter has you recreate a popular command line tool (like grep, cal, tail, wc) while introducing a new rust concept.
The book also does TDD, test driven design, by first teaching you how to create these tests then in subsequent chapters having the tests prewritten for you.
It's definitely worth a look, the author has a great writing style as well that isn't as monotonous as most programming books I've read.
[1] https://www.oreilly.com/library/view/command-line-rust/97810...

adolph#
Came here to mention just that book. It is excellent.
lifewallet_dev#
Thank you! I needed this one, how fun, I did this when learning Haskell, now I can do it with Rust.
dbalatero1 reply#
Just to clarify, when you say "not for beginners" do you mean beginners to Rust or programming in general?

edit: Based on your "It was my first introduction to rust" comment I think maybe you meant programming beginners?

azemetre1 reply#
Sorry, I meant that you need some programming experience. It will not teach the basics of if loops, making structs, etc; it's a good introduction to rust, prior programming experience required.
mrmuagi1 reply#
I'm assuming you also need to understand pointers and memory layout perhaps?

Continue this thread — 1 reply

racl1011 reply#
Glad we can buy the book standalone without getting a membership to O'Reilly.
azemetre3 replies#
I may sound like a shill but I think paying for O'Reilly is worth it. You get access to many books and videos outside the O'Reilly publisher. Definitely worth it, I tend to read a tech book a month (maybe 2 if it's "light.")

Many of the books being suggested in the other comments are available as well (will definitely start Hands-On Rust because it seems very cool, and Practical Common Lisp shortly afterwards).
Out of all the "tutorial" offerings I only pay for three services:
O'Reilly (four years so far)
Educative.io (two years)
Frontendmasters (eight years)
Every year I test out other services (pluralsight, lynda/linkedin learning, egghead, etc) but outside of one or three core offerings they don't seem to be a good value for what I want.

racl1011 reply#
That's fair. I think some people just like the option of buying the book.

Continue this thread — 1 reply

digianarchist#
It's free if you have a Toronto Public Library card.
shrugsworth1 reply#
I'm curious why you pay for those services and not the others. Is it a matter of topics, teaching style?
azemetre#
I find the quality for frontend masters to be extremely high, over the last 4 years they've gotten workshops from people working at Netflix, Google, Microsoft, LinkedIn, Amazon; while some of the courses have a short shelf life due to versioning issues of tech they are discussing/teaching, I tend to watch all of them when they get released.

Compare this to pluralsight, which I feel like 80% of the courses are just regurgitating the documentation back to the user very poorly, or udemy that whose courses are typically stretch to 20-40 hours when they topic barely warrants 4 hours (see any frontend course).
I like educative.io because they are the best interview prep site out there IMO, I also enjoy some of their specific topics outside of interview prep (devops, concurrency, threading, etc); what's nice about educative.io is that it's all text based, I read way faster than I can watch. Also helps that they had a really good discount a few years ago that I'm still using (something like 3 or 4 years for the price of a single year).
O'reilly is great because, as I stated elsewhere, they have an enormous collection of books not just from O'Reilly but Packt Publishing, Manning, Apress, No Starch Press; they also have decent video courses from the same publishers as well.
There are very few technical books I'm willing to buy a physical copy of, I don't live in a large space so I have limited area for the books I do have, I do however like reading technical books. I'm also grandfathered in at a previous price point, so I feel like I'm "forced" to get my moneys worth. So reading 12-15 books is the "worth it" spot for me.