From: Dave Thomas Date: 2001-11-01T00:05:00+09:00 Subject: [ruby-talk:23956] Re: RCR: Fun with attribute shortcuts solves RCR #3 and more Mathieu Bouchard writes: > In every system there's a tension between writing code that is familiar to > everyone at first sight, and writing code that requires some more > knowledge but has some _special qualities_. > > Those latter would be: more obvious at _second_ sight (PoLS), shorter > code, no redundancy (the DRY principle), written in the words the author > used to think about the code ("pseudo-code" qualities), less bugs in the > first place ("debugging by prevention"), easier to debug, easier to modify > and more uses for the same piece of code (flexibility). These are two important paragraphs. Dave