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

[extremeprogramming] Re: Elves in the Night [Stupid XP Question Number 6614]

Expand Messages
  • Robert C. Martin
    wrote in message news:3871a37a.321644360@news.newsguy.com... ... what you ... Might ... waterfall ... I look at it differently than that.
    Message 1 of 38 , Jan 3, 2000
      <brougham2@...> wrote in message

      > If you've already solved a problem before so that you already know
      > need to do, I don't see any benefit to XP's incremental development.
      > as well develop the infrastructure you *know* you will need via a
      > model, and then switch over to XP after that.

      I look at it differently than that. If I already knew the domain cold,
      would still use XP simply because XP will give me the simplest design
      could possibly work. I might be *sure* about all the infrastructure
      need, but XP will only let me add it if its truly needed. And there can
      a big difference between what I'm sure will be needed, and what really

      > I think what XP is saying is that if you aren't experienced enough in
      > problem domain to know everything before hand, you will probably be
      > off by deferring as many decisions as possible.

      I'd amend that to simply: "You are always better off deferring as many
      decisions as possible."

      > Incremental development isn't necessarily the best solution for *all*
      > problems.

      True. If the cost of change is very high, then we don't want to
      But if we can keep the cost of change low, through unit tests,
      pair programming, and simplicity, then iteration is probably the best


      Robert C. Martin | OO Mentoring | Training Courses:
      Object Mentor Inc. | rmartin@... | OOD, Patterns, C++,
      PO Box 85 | Tel: (800) 338-6716 | Extreme Programming.
      Grayslake IL 60030 | Fax: (847) 548-6853 |

      "One of the great commandments of science is:
      'Mistrust arguments from authority.'" -- Carl Sagan
    • Robert C. Martin
      Tom Kreitzberg wrote in message news:387364E4.C0A3E6CC@jhuapl.edu... ... There is no fundamental difference between pre XP Object
      Message 38 of 38 , Jan 5, 2000
        Tom Kreitzberg <Tom.Kreitzberg@...> wrote in message

        > But I think "flexibility" means different things to XP and,
        > shall we say, pre-XP OMA. In XP, doesn't it primarily mean
        > once and only once? In pre-XP OMA, doesn't it primarily mean
        > OCP and low coupling? When I wrote that XP "is structured so
        > that inflexible designs are cheap to change," I meant inflexible
        > in this second sense.

        There is no fundamental difference between pre XP Object Mentor, and
        post XP
        Object Mentor except that we have identified XP as the process we like
        use. Even this is not a big shift for us, since XP is very similar in
        spirit and practice to the unnamed process we have used for years.
        are differences, certainly -- specifically in the areas of pair
        and test first programming; but these are differences in intensity, not
        philosophy. As for the rules governing simplity, the planning game,
        iterations, etc, we were very closely aligned.

        Flexibility means the same to me now as it did five years ago. The
        to add or change significant amounts of functionality while changing a
        minimum of exsiting code -- i.e. the OCP. OnceAndOnlyOnce leads to this
        goal just as the OO design principles do. It is my goal over the next
        several months to integrate the principles and XP.
      Your message has been successfully submitted and would be delivered to recipients shortly.