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 7 of 92

modernerd2 replies#
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-small-python-projects
~~~
For JS:
https://eloquentjavascript.net (project-based and for beginners)
https://javascript30.com (not for total beginners or self-study, would need a friend/tutor)

Sn0wCoder#
I second eloquent JavaScript. Been doing this book since v1 and recommend to just about anyone that asks for recommendations. I use typescript daily and have been hoping that this book gets updated for TS although it would be hard since it uses lots of JS tricks that may or may not be best practices in TS. Technically just renaming the files from .js to .TS would work the linter would go crazy
bpesquet1 reply#
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.

Sn0wCoder1 reply#
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.
Sn0wCoder#
Never-mind the website is the book lol