Skip to content
quotesby

About this quote

What does it mean?
The author admits that improving something may slightly reduce its readability.
In plain terms
Improving a feature can make it a bit harder to read.
What can you take from it?
Weigh improvements against readability costs.

Where it applies

  • optimizing code
  • refactoring

Putting it to work

  • keep documentation up to date
  • use clear naming conventions

Questions to consider

  • When is a small readability loss acceptable?
  • How can you restore readability after changes?

Another view

Readability loss can hinder future maintenance.

More from Larry Wall

  1. There are still some other things to do, so don't think if I didn't fix your favorite bug that your bug report is in the bit bucket. (It may be, but don't thin…

    Permalink to quote #24
  2. What about WRITING it first and rationalizing it afterwards? :-)

    Permalink to quote #26
  3. There are probably better ways to do that, but it would make the parser more complex. I do, occasionally, struggle feebly against complexity... :-)

    Permalink to quote #23

Related quotes

  1. If you need more than 3 levels of indentation, you're screwed anyway, and should fix your program.

    Linus TorvaldsLinus Torvalds quote #8
  2. I will, in fact, claim that the difference between a bad programmer and a good one is whether he considers his code or his data structures more important. Bad …

    Linus TorvaldsLinus Torvalds quote #49
  3. The psychological profiling [of a programmer] is mostly the ability to shift levels of abstraction, from low level to high level. To see something in the small…

    Donald KnuthDonald Knuth quote #4