• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

what is clean code

 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Author
Posts: 3473
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mhh, it might actually be as subjective as the phrase "clean desk"...
 
Ranch Hand
Posts: 471
Mac OS X Hibernate Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
reply
    Bookmark Topic Watch Topic
  • New Topic