Quantcast
Channel: » single responsibility principle
Browsing latest articles
Browse All 4 View Live

I Know What You Did

It takes about two seconds to determine whether or not someone used TDD to derive a set of unit tests. While it’s possible for someone to write as high-quality unit tests using TAD (test-after...

View Article



Cute Little Abstractions

I’m refactoring several classes of over 2000 lines each. These are classic god-classes that mediate a handful of stubby little data-centric classes around them. I reduced the first, primary domain...

View Article

Easier Testing Using the SRP

This simple file monitor class notifies listeners when a watched file is modified: public class FileMonitor { private Set<FileChangeListener> listeners = new HashSet<FileChangeListener>();...

View Article

Learning Great Practices From Constraints

The Maryland high school I attended helped me get my early career off the ground. In 1980, I took my first computer class. A friend and his geek cohorts had already learned enough to swarm all over the...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images