HACKER Q&A
📣 curious16

Best book to learn programming in 2022?


Not a book that teaches language syntax to an already established programmer. Rather books that teach how to program in any language, so that the book is great for someone starting out.


  👤 dxs Accepted Answer ✓
I've decided to relearn everything, starting at the very beginning. First up is the Chris Pine book. He's a good writer. It's very simple but fun.

I was curious and after a bit of looking around I found "Introduction to Computation and Programming Using Python with Application to Computational Modeling and Understanding Data", third edition, by John V. Guttag, © 2021. Looks pretty good, though it's a more traditional approach.

Basically, any language you might be interested in will have introductory books.

If you have trouble getting ahold of books, you can try (1) www.pdfdrive.com and (2) z-lib.org . The first one feels a little less sketchy but the second one has almost everything I look for, on every subject. I've had no trouble with either one so far, but use at your own risk.


👤 AlexeyBrin
"Learn to program" by Chris Pine https://pragprog.com/titles/ltp3/learn-to-program-third-edit... is a good book for beginners.

👤 lawxls
Grokking Algorithms. Not exactly the book that teaches how to program, but is great, beginner-friendly introduction to a bunch of important concepts and algorithms in computer science.