r/learnprogramming • • Nov 05 '26

What books helped you learn how to program or what books do you recommend?

I'm pretty sure this question is asked a lot. But, lately I have been trying to learn how to program and I have been looking at books. But, I have no idea which books to get since it does teach different languages like python or Java. Any recommendations would be helpful!

27 Upvotes

34 comments sorted by

9

u/theCamp4778 Nov 06 '26 edited Nov 06 '26

https://www.youtube.com/watch?v=Pyb8yvEWreA and https://www.youtube.com/watch?v=D7yNq8xJSFc plus Cracking the code interview and DSA books if you aiming for MAANG and if you are interested in free self-paced full-stack JavaScript bootcamp search and join 100devs, there are huddles on discord stages every weekday during huntober and Tue/Friday adterwards to help prep for job hunt.

2

u/MrBengaliHacker Nov 06 '26

Thanks, I'll check these out! Appreciate you taking the time to share them.

0

u/PintOfPeril Nov 06 '26

Phew, that's quite the marathon of resources; good luck sorting through them!

2

u/theCamp4778 29d ago

If you think learning how to code is a sprint not marathon, then good luck with becoming good at it. You pick one thing, complete then you move to next one and it will take you 3-4 intense months up to 1-2 years if not more to become excellent at it. For hobby just pick vibe coding and you will be happy after 1h of coding. That does not need mastering deep knowledge.

5

u/Dayguy Nov 06 '26

If you have your heart set on a physical book, I always look for O'Reilly.

3

u/Tb1969 29d ago edited 28d ago

Learn by doing. This first book has actual solutions for office type work. Even just enhancing Excel with small amounts of code is powerful and helps you build an understanding. Then keep adding to it to make it more functional.

Once you have useful skills making scripts and write code for full applications hobbled together you could move onto creating a program from scratch.

Automate the Boring Stuff with Python: Practical Programming for Total Beginners

Thrift Books has it for under $9

https://www.thriftbooks.com/w/automate-the-boring-stuff-with-python-practical-programming-for-total-beginners_albert-sweigart/9839984/item/18047123

Python Crash Course: A Hands-On, Project-Based Introduction to Programming

https://www.thriftbooks.com/w/python-crash-course-a-hands-on-project-based-introduction-to-programming_eric-matthes/11728473/#edition=11310914&idiq=24120417

2

u/pancakeQueue Nov 05 '26

Languages will have websites where you can download the language. That website will usually have a getting started online site/book. Python and Rust both are fantastic and the better you get at understanding the simple concepts the more you can jump around.

2

u/Adventurous_Tap3837 Nov 06 '26

Idk just curiosity and trial error

2

u/Both_Bend_2481 Nov 06 '26

If you're waiting for the perfect/right book, you're probably just stalling. You can find great, free resources online.

1

u/Traveling-Techie Nov 06 '26

I learned a lot from Software Tools in the 1970s and the Pragmatic Programmer series in the 2000s.

1

u/nurjoohan Nov 06 '26

How to program books by deitel and deitel are some of the best programming books available

1

u/jakingo Nov 06 '26

I would suggest starting with a Python beginner book that focuses on hands-on exercises and small projects rather than just theory.

1

u/sharjeel-babar Nov 06 '26

I have learnt almost everything from freecodecamp 

1

u/jacksonanna373 27d ago

Python Crash Course is a good first pick. It gets you building small projects, which helps with the classic beginner experience of understanding every example and then staring at a blank editor like it just insulted your family.

1

u/MaleficentCow8513 Nov 06 '26

Structure and Interpretation of Computer Programs. Not for the faint of heart and only for those who wish to be true wizards. Jk jk you can find some good YouTube tutorials

1

u/inspectorG4dget Nov 06 '26

Here's a solid but tough recommendation: forget books, at least for now. Pick any one language (python was my first). Then do some very basic exercises that won't at first seem useful or relevant to anything in the real world (one recommendation is advent of code: https://adventofcode.com/). You won't be able to get through all the exercises, but that's not the point and don't let that bother you. Use the language's documentation to figure out how to write the solution (don't ask AI). Fail many times and document what failed, then the root cause of the failure.

This is not easy. It's not bite-sized. It's hours of grueling effort. It's old school. It's also the most effective way of learning the basics.

Soon (in 1-3 months), you won't need the language's documentation as reference as much anymore - you will have gotten fluent. You'll never not need the documentation entirely (I still do after 20y of writing python code). This is when you start looking at other fundamentals like data structures and algorithms. Now, getting familiar with the basics will take another 1-3 months.

0

u/xyue7777777 Nov 06 '26

I don't recommend you to learn a language by reading books. You can just learn almost anything on Internet.
YouTube will be a good choice for beginner. And you can take practice on GitHub.

1

u/Dayguy 25d ago

I agree. I use books as a reference. Not to actually learn but to better explain what I'm learning. I like having books because sometimes I'll flip the pages and stop on something that makes me ask, "It can do that?" Lol, books are a great rabbit hole starter kit.

0

u/nandezftw Nov 06 '26

I started learning Java in college and it didn’t fully make sense until I learned C, because of pointers and memory allocation.

I would recommend C as a starting tool, but you don’t have to start there. The book I’d recommend is C Programming: A Modern Approach by K.N. King. Coupled with basic internet researching ability, you should be able to get a good understanding of C, that translates to other languages as well.

3

u/[deleted] Nov 06 '26

[removed] — view removed comment

1

u/josephjnk Nov 06 '26

Seconded. Really good book, helped me a ton when I was learning the language.

2

u/[deleted] Nov 06 '26

[removed] — view removed comment

1

u/Gavitir 29d ago

Pragmatic programmer is available free if you have a Spotify sub, I'm just about done with the audiobook 👍