Loading ...
Sorry, an error occurred while loading the content.
 

RE: [XP] Duplication vs Intention Revealing code (was: Zen Refact oring)

Expand Messages
  • Bayley, Alistair
    ... P109 has the following: 1. code + tests communicates everything you want to communicate 2. no duplicate code 3. fewest possible classes 4. fewest possible
    Message 1 of 1 , Jun 2, 2005
      > From: Keith Ray [mailto:keithray@...]
      >
      > The first edition had two listings of the rules of simple
      > design, with
      > different orders. Bonus points goes to whomever tells us the page
      > number of the second listing.
      >
      > --
      > C. Keith Ray
      > <http://homepage.mac.com/keithray/blog/index.html>
      > <http://homepage.mac.com/keithray/xpminifaq.html>
      > <http://homepage.mac.com/keithray/resume2.html>
      >


      P109 has the following:
      1. code + tests communicates everything you want to communicate
      2. no duplicate code
      3. fewest possible classes
      4. fewest possible methods

      Is that what you're thinking of? Order is the same, though; the last item is
      split into two rules. The first rule - all tests pass - is gone. Or has it
      been rolled into rule 1 above?

      Alistair.

      -----------------------------------------
      *****************************************************************
      Confidentiality Note: The information contained in this message, and any
      attachments, may contain confidential and/or privileged material. It is
      intended solely for the person(s) or entity to which it is addressed. Any
      review, retransmission, dissemination, or taking of any action in
      reliance upon this information by persons or entities other than the
      intended recipient(s) is prohibited. If you received this in error, please
      contact the sender and delete the material from any computer.
      *****************************************************************
    Your message has been successfully submitted and would be delivered to recipients shortly.