http://www.perlmonks.org?node_id=477870


in reply to Meaning of "Clean" Perl code

My definition of "clean" would be "absence of dirt"!

And dirt would be:

  1. Obsolete code. Code that was used before the world changed, but nobody cleaned it up
  2. Misleading comments
  3. Ugly code that tries to cope with the changing world where to complete redesign would have been cleaner
This list implies, that code becomes unclean by aging. On the other hand, even fresh code is not always clean....

Replies are listed 'Best First'.
Re^2: Meaning of "Clean" Perl code
by Anonymous Monk on Jul 26, 2005 at 02:40 UTC
    Probably obvious, but unsecure code is also dirt .