aspose file tools*
The moose likes Java in General and the fly likes Good Book to Recommend on Coding? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Good Book to Recommend on Coding?" Watch "Good Book to Recommend on Coding?" New topic
Author

Good Book to Recommend on Coding?

Alan Blass
Ranch Hand

Joined: Mar 21, 2010
Posts: 120
Hi!

Does anyone has a good book to recommend on writing good code?

I came across "Writing Solid Code" when I was in school. But that was in C.

Anyone has recommendations for Java OO and Java EE?

Thanks.
Gaurav Raje
Ranch Hand

Joined: Jul 23, 2010
Posts: 136
Thinking in Java was good for me... I believe it is available for free on bruce eckels website (some edition)
Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 8226
    
  23

Alan Blass wrote:Does anyone has a good book to recommend on writing good code?

'Effective Java' by Joshua Bloch. Best practitioner's book I've ever read about any computer language. Period.

Winston


Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14347
    
  22

Not Java-specific, but all very good books about becoming a better programmer:

Code Complete
Clean Code
Head First Design Patterns
Refactoring


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
John de Michele
Rancher

Joined: Mar 09, 2009
Posts: 600
I'll second Effective Java, 2E.

John.
Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 8226
    
  23

Another one, a bit more esoteric, is 'Beautiful Code' by Andy Oram and Greg Wilson (O'Reilly press). It's a series of essays, by the people that wrote them, on pieces of code that they're really proud of (including that venerable old chestnut: Regex).

Being a collection, the writing varies a bit, and some of it, admittedly, goes over my head; but there's some fascinating stuff in there. And it highlighted a problem in binary chops for me that I had all but forgotten about (and that went undiscovered for 8 years in Quicksort).

It's not exclusively Java though.

Winston
Alan Blass
Ranch Hand

Joined: Mar 21, 2010
Posts: 120
OK. Thanks a lot. I'll check them out.
naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 692

Winston Gutkowski wrote:
Alan Blass wrote:Does anyone has a good book to recommend on writing good code?

'Effective Java' by Joshua Bloch. Best practitioner's book I've ever read about any computer language. Period.

Winston

that book is for advanced programmers i guess this guy is new to programming world so he will not understand most of the thing in that book


The Only way to learn is ...........do!
Visit my blog http://inaved-momin.blogspot.com/
 
Don't get me started about those stupid light bulbs.
 
subject: Good Book to Recommend on Coding?