You Don't Hate Abstractions
dev.to·3h·
Discuss: DEV
🔧Code Refactoring Patterns
Preview
Report Post

It’s an hour until you’re free for the weekend, and you’re trying to knock out one last ticket before you escape into whatever assuredly action-packed plans await you. You spot a seemingly harmless task: "Add Middle Initial to User Name Display."

You chuckle. Easy. A palate cleanser. A victory lap.

You assign the ticket, flip it from New to Active, and let your IDE warm up

while you drift into a pleasant daydream about not being here.

But then the search results begin to appear.

Slowly. Line by line.

And your reverie begins to rot.

IUserNameStrategy, UserNameContext, UserNameDisplayStrategyFactory,

StandardUserNameDisplayStrategy, FormalUserNameDisplayStrategy,

InformalUserNameDisplayStrategy, UserNameDisplayModule, …

Incredulous, your chuck…

Similar Posts

Loading similar posts...