• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Good Book to Recommend on Coding?  RSS feed

 
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thinking in Java was good for me... I believe it is available for free on bruce eckels website (some edition)
 
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Likes 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
Java Cowboy
Sheriff
Posts: 16084
88
Android IntelliJ IDE Java Scala Spring
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not Java-specific, but all very good books about becoming a better programmer:

Code Complete
Clean Code
Head First Design Patterns
Refactoring
 
Rancher
Posts: 600
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll second Effective Java, 2E.

John.
 
Winston Gutkowski
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK. Thanks a lot. I'll check them out.
 
Ranch Hand
Posts: 692
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!