Live data from Hacker News

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

news.ycombinator.com

111–120 of 204 posts

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

#111

For Swift: https://www.apple.com/swift/playgrounds/ (I've had more success introducing programming with this than with any of the links below; it's a very compelling intro for those who already own an iPad/Mac, and the core concepts are generalisable to other languages/environments even if it's specific to Apple's APIs and hardware.) ~~~ For Python: https://automatetheboringstuff.com https://nostarch.com/big-book-sma…

I beg to differ: for all its qualities, Eloquent JavaScript is not a very beginner-friendly book. It goes quite deep into many JS intricaties and contains a lot of challenging tasks for people just discovering programming. More beginner-focused alternatives are https://www.freecodecamp.org and https://thejsway.net . Disclaimer: I've been teaching programming professionally for 15+ years and wrote the latter.

I have recommended to beginners before and most of them thanked me. I skimmed the page for your book but did not see the link to the free version. I am on mobile so maybe just missed it. Says read free here, but here is not a link. Clicking the book takes you to Amazon.

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

#112

Not a book, but check [Build your own X]( https://github.com/codecrafters-io/build-your-own-x ), a compilation of well-written, step-by-step guides for re-creating our favorite technologies from scratch.

Excellent resource. Never seen that before.

In a similar vein, there is The Architecture of Open Source Applications which is great:

https://aosabook.org/en/index.html

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

#113

Earlier quoted context omitted.

I beg to differ: for all its qualities, Eloquent JavaScript is not a very beginner-friendly book. It goes quite deep into many JS intricaties and contains a lot of challenging tasks for people just discovering programming. More beginner-focused alternatives are https://www.freecodecamp.org and https://thejsway.net . Disclaimer: I've been teaching programming professionally for 15+ years and wrote the latter.

I have recommended to beginners before and most of them thanked me. I skimmed the page for your book but did not see the link to the free version. I am on mobile so maybe just missed it. Says read free here, but here is not a link. Clicking the book takes you to Amazon.

Never-mind the website is the book lol

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

#115

If they don't exist, this is a good idea for anybody looking for a project to write a programming book

There are many, but the field is still wide open. Anyone with a particular domain experience should find a market. There are lots of starting from scratch guides, and few focused guides. for subject in ["Finance", "Contact Management", "Service Desk Automation", "Web Apps from scratch", "Web Apps on someone else's API", "Baseball Metrics"]: for language in ["R", "Go", "Python3", "Rust", "Lisp"]: print(f"Examples for…

Prefix each line with two spaces, per the formatdoc page [0]

[0] https://news.ycombinator.com/formatdoc

  for subject in [
   "Finance",
   "Contact Management",
   "Service Desk Automation",
   "Web Apps from scratch",
   "Web Apps on someone else's API",
   "Baseball Metrics"
  ] : for language in [
   "R",
   "Go",
   "Python3",
   "Rust",
   "Lisp"
  ] : print(f"Examples for {subject} in {language} would make a good book.")

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

#116
- Pick a language

- Find a recent book (- OR, a Udemy.com video series (note: never pay more than $12 or so-- the promo rate. If you see a higher price, just create a new email & user account (or reset cookies?) and you'll see the promo price again)

- Visit: Roadmap.sh to get a sense of a learning roadmap what knowledge to build.

- Use a search engine to answer questions, such as "free learning resource for learning "

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

#117

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…

Thank you! I needed this one, how fun, I did this when learning Haskell, now I can do it with Rust.

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

#118

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 tru…

I've been learning lisp this past week. I think I get the main idea of "code is data and data is code", but I struggle to understand how it's more powerful than, say, making a function factory in Python.

maybe a function factory is just an OO pattern for return closures, it's difficult to not perceive things from 'now', but i'll be frank i 1) never liked DP 2) couldn't spend more than 5 minutes reading about them as it seemed more verbose and redundant
Post reply on HN