Tesugen

DDC, code and architecture

In the chapter “Reuse Versus Compression” of his book Patterns of Software, Richard Gabriel talks about how full-scale reuse in software development—within organizations as well as between them—would require librarians:

[T]here has to be a means of locating the right piece of code, which usually requires a good classification scheme. It does no good to have the right piece of code if no one can find it. Classification in the world of books, reports, magazines, and the like is a profession, called cataloging. Librarians help people find the book. But few software organizations can afford a software cataloger, let alone a librarian to help find the software for its developers. This is because when a development manager has the choice of hiring another developer or a software librarian, the manager will always hire the developer.

A Dewey Decimal Classification (DDC) system for reusable code. This reminded me of the idea of the software architect as librarian.

The DDC seems to me to be something similar to a hash table: in trying to find a particular book, the segment of the entire library is identified, by deciding which category the book belongs to, and then one goes there to search for it. However, not all books obviously belong to a single category.

Today, I guess that the classification systems used in libraries are at a lower level of abstraction: Visitors to a library would generally use computer terminals to search for the book, then use the category key to look it up. Other systems of locating books can be layered on top of this sometimes ambiguous system. How the books are organized at this lower level is no longer that important: what matters is that the subcategories aren’t too big, so that once one finds the shelves for the subcategory, one would search sequentially on the author’s last name or the title.

Got to go.

The above was posted to my personal weblog on September 23, 2003. My name is Peter Lindberg and I am a thirtysomething software developer and dad living in Stockholm, Sweden. Here, you’ll find posts in English and Swedish about whatever happens to interest me for the moment.

Tags:

Related posts:

Posted around the same time:

The seven most recent posts:

  1. Tesugen Replaced (October 7)
  2. My Year of MacBook Troubles (May 16)
  3. Tesugen Turns Five (March 21)
  4. Gustaf Nordenskiöld om keramik kontra kläddesign (December 10, 2006)
  5. Se till att ha två buffertar för oförutsedda utgifter (October 30, 2006)
  6. Bra tips för den som vill börja fondspara (October 7, 2006)
  7. Light-Hearted Parenting Tips (September 16, 2006)
Bloggtoppen.se