Starbucks-fueled Developer

Sunday, July 24, 2005

How about 3K LOC?

Jeremy recently blogged about identifying "Blob" classes. The "core" of the application I'm working on right now has a "Common" object. It spans 3000 lines of code, all of which are contained within Shared/Static member functions. It's the canonical example of Singletonitis let alone failing the "one class, one responsibility" test.

It's times like these I wish my Refactoring skills were much, much sharper...

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home