By rick
via perforce.com
Published: Jun 20 2006 / 21:47
The essence of pretty code is that one can infer much about the code's structure from a glance, without completely reading it. I call this "visual parsing": discerning the flow and relative importance of code from its shape. Engineering such code requires a certain amount of artifice to transform otherwise working code into working, readable code, making the extra step to leave visual cues for the user, not the compiler.
Comments
matt replied ago:
Somewhat interesting. I'm not sure I agree with using incredibly short variable names though. That tends to make it harder to understand when you go back in later.
Voters For This Link (8)
Voters Against This Link (0)