Link Details

Link 940 thumbnail
User 1 avatar

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.
  • 8
  • 0
  • 441
  • 288

Comments

Add your comment
User 2 avatar

matt replied ago:

0 votes Vote down Vote up Reply

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.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (8)



Voters Against This Link (0)