Primitive Obsession

Our code exhibits the Primitive Obsession code smell: the use of integers rather than objects to represent fundamental domain concepts such as “Dollars” and “Tax Rate.” We undertake a series of major refactorings to resolve this smell. It results in significantly better code.

  1. JAVA1Testing Basics

    Sat, 28 July ’12
  2. JAVA2Domain Logic

    Sat, 11 Aug ’12
  3. JAVA3Cleanup

    Sat, 18 Aug ’12
  4. JAVA4Primitive Obsession

    Sat, 8 Sep ’12
  5. JAVA5A Basic User Interface

    Sat, 22 Sep ’12
  6. JAVA6Back to the Domain Model

    Sat, 6 Oct ’12
  7. JAVA7Cumulative Rounding Error

    Fri, 2 Nov ’12
  8. JAVA8A New Capital Gains Tax Calculation

    Fri, 23 Nov ’12