• DocumentCode
    1077644
  • Title

    Connecting Design with Code

  • Author

    Wirfs-Brock, R.J.

  • Volume
    25
  • Issue
    2
  • fYear
    2008
  • Firstpage
    20
  • Lastpage
    21
  • Abstract
    Jon Bentley wrote his thesis on divide-and-conquer algorithms and came to greatly admire C.A.R. Hoare\´s original quicksort algorithm. Yet for years, Bentley "tiptoed around its innermost loop" because he didn\´t understand it (Beautiful Code, O\´Reilly, 2007). It was only after he implemented his own quicksort based on an elegant partitioning scheme for programming Pearls (Addison-Wesley, 1999) that he truly understood the reason for that inner loop. He also trimmed the original bulkier algorithm to a mere dozen tight lines of code. Code clutter and unnecessary complexity can obscure a design. However, connecting design decisions to code won\´t happen unless developers embrace the practice of writing code as if expressing design intent matters.
  • Keywords
    object-oriented programming; software engineering; code clutter; design-code connection; divide-and-conquer algorithms; quicksort algorithm; Code standards; Head; Humans; Joining processes; Partitioning algorithms; Programming profession; Writing; code; design intent;
  • fLanguage
    English
  • Journal_Title
    Software, IEEE
  • Publisher
    ieee
  • ISSN
    0740-7459
  • Type

    jour

  • DOI
    10.1109/MS.2008.33
  • Filename
    4455626