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

42976Re: [XP] Simplicity pressures

Expand Messages
  • Ron Jeffries
    Feb 6, 2002
    • 0 Attachment
      Around Wednesday, February 06, 2002, 10:11:35 AM, Danil wrote:

      > Situation: two sections of code, with satisfactory UnitTests available.
      > These sections, though obviously similar, are such that the common idioms of
      > the implementation language do not permit further reduction.

      > If, however, one is willing to unleash the forces of darkness (and some of
      > the more squirrelly bits of the implementation language), further code
      > reduction is possible. ["Look! If we apply Andrei's Pentagram Template
      > Idiom, all this code goes away!"] The cost is simplicity - those
      > programmers not familiar with the pattern are unlikely to grok the code on
      > the first pass.

      > In an XP team, this situation is normally resolved by... well, I haven't the
      > foggiest. Does anybody else?

      In an XP team, this situation is normally resolved by... looking at
      the specific case and seeing which way is simpler. The point of
      removing duplication is simplicity.

      Got an example?

      Ron Jeffries
      Logic is overrated as a system of thought.
    • Show all 9 messages in this topic