<p>For both of these, I highly recommend the &quot;How to Think Like a Computer Scientist&quot; series. They exist for both languages, are self-study friendly, and are available for free online. Both have problems to try and go over everything you could possibly need.</p>
<p>Python:
<a href="https://runestone.academy/ns/books/published/thinkcspy/index.html" rel="nofollow noreferrer">https://runestone.academy/ns/books/published/thinkcspy/index.html</a></p>
<p>Java:
<a href="https://greenteapress.com/thinkjava6/thinkjava.pdf" rel="nofollow noreferrer">https://greenteapress.com/thinkjava6/thinkjava.pdf</a></p>

CC BY-SA 4.0
2024-08-25T02:39:07.507Z
2024-08-25T02:39:07.507Z
hsprague
<p>There is not best book.</p>
<p><strong>The answer to your question is &quot;ANY&quot;.</strong></p>
<p>Just try any book for 1-2 chapters. Switch to another book, the a third. You will like 1 of the 3 more than the other two. Continue with it. There is no best book. Moreover, asking for recommendations sets up an expectation of something good that won't be fulfilled.</p>

CC BY-SA 4.0
2023-04-29T19:11:19.420Z
2023-04-29T19:11:19.420Z
VISQL
<p><strong>Python: Violent Python</strong>
A book about practical, hacky, fun uses of Python. Think variety, challenging and networking.</p>
<p><strong>Java: Effective Java</strong>
A book about OOP best practices and designs in Java. Helps solidify simple concepts, introduces some design patterns and Java specific pitfalls. Think design, principles and ultimately enterprise architectures.</p>

CC BY-SA 4.0
2023-05-03T12:30:26.997Z
2023-05-03T12:30:26.997Z
Edd
<p>Fellow programmers. I am currently learning java and python in my Master's degree (introduction) and I did those languages 2 years ago. And when I revisited for the units I feel like I have basic understanding but the foundation isn't concrete and keep messing up syntaxes between languages. So I want to read a book that will actually help me grow.</p>
<p>I thank you in advance for your recommendations :)</p>

CC BY-SA 4.0
2022-03-27T12:35:44.340Z
What are you studying (major field)? Why do you need both of these languages?
Buffy
CC BY-SA 4.0
2022-03-28T18:40:00.170Z
Books are good for learning in general how to talk about software systems and how to construct software systems, but to really learn a _language,_ you have to _speak_ the language. Practice writing code!
Solomon Slow
CC BY-SA 4.0
2022-03-29T16:23:18.417Z
@Buffy My major field is software engineering
Syed Istiak Raihan
CC BY-SA 4.0
2022-07-28T19:58:33.633Z
Asking for the "best" book is fruitless as you only get opinions. Few people answering know all the available books. Beware of any answer. For me, the best book is one that has a lot of programming exercises and several large projects. You learn programming by doing programming, not by reading a book.
Buffy
CC BY-SA 4.0
2022-08-02T00:01:13.587Z
I wrote my own.
ncmathsadist
<self-learning><programming><java><python>
Best books for solid foundation build up for python and java
# Best books for solid foundation build up for python and java

(Asked by: username_0 on 2022-03-26)

Fellow programmers. I am currently learning java and python in my Master's degree (introduction) and I did those languages 2 years ago. And when I revisited for the units I feel like I have basic understanding but the foundation isn't concrete and keep messing up syntaxes between languages. So I want to read a book that will actually help me grow.

I thank you in advance for your recommendations :)

**Tags:** self-learning, programming, java, python

> **Comments:**
> **username_1**: What are you studying (major field)? Why do you need both of these languages?  
> **username_2**: Books are good for learning in general how to talk about software systems and how to construct software systems, but to really learn a _language,_ you have to _speak_ the language. Practice writing code!  
> **username_0**: @username_1 My major field is software engineering  
> **username_1**: Asking for the "best" book is fruitless as you only get opinions. Few people answering know all the available books. Beware of any answer. For me, the best book is one that has a lot of programming exercises and several large projects. You learn programming by doing programming, not by reading a book.  
> **username_3**: I wrote my own.  

---

## 3 answers

### Answer by username_4 on 2024-08-25. Score: 1

For both of these, I highly recommend the "How to Think Like a Computer Scientist" series. They exist for both languages, are self-study friendly, and are available for free online. Both have problems to try and go over everything you could possibly need.

Python:
<https://runestone.academy/ns/books/published/thinkcspy/index.html>

Java:
<https://greenteapress.com/thinkjava6/thinkjava.pdf>


---

### Answer by username_5 on 2023-04-29. Score: 1

There is not best book.

**The answer to your question is "ANY".**

Just try any book for 1-2 chapters. Switch to another book, the a third. You will like 1 of the 3 more than the other two. Continue with it. There is no best book. Moreover, asking for recommendations sets up an expectation of something good that won't be fulfilled.


---

### Answer by username_6 on 2023-05-03. Score: 0

**Python: Violent Python**
A book about practical, hacky, fun uses of Python. Think variety, challenging and networking.

**Java: Effective Java**
A book about OOP best practices and designs in Java. Helps solidify simple concepts, introduces some design patterns and Java specific pitfalls. Think design, principles and ultimately enterprise architectures.


---

