aspose file tools
The moose likes Agile and Other Processes and the fly likes what is clean code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Engineering » Agile and Other Processes
Bookmark "what is clean code" Watch "what is clean code" New topic

what is clean code

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 31668

It seems like the definition of "clean code" changes over time. Code written 10 years ago is likely to be longer and have more in a method. At the time it would be considered "clean." In the same way, I wince when I see what I wrote 5 years ago. I'm curious what other examples people have of this scenario.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
arulk pillai
Ranch Hand

Joined: May 31, 2007
Posts: 3325
Congrats to the authors. It is currently ranked #155 on Amazon #1 in computer books. A great effort and a topic that is close to many developers' heart. Well done.
[ September 24, 2008: Message edited by: arulk pillai ]

[500+ Java Interview Questions and Answers ] | [Java job hunting know how] | [Java resumes]
Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
Mhh, it might actually be as subjective as the phrase "clean desk"...

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Alaa Nassef
Ranch Hand

Joined: Jan 28, 2008
Posts: 467
Well, I think that the basis of clean code is that your code should be readable & maintainable by others with ease. Five years ago we didn't have a lot of what we had today, and hence a lot of code was written that could now be summarized to just one tenth of its size using pre-written reusable libraries. Also a lot of methodologies did not exist (or at least were not widely known) back then.

Visit my blog:
Have you tried LearnNowOnline?
subject: what is clean code