Hacker News new | ask | show | jobs
by PartiallyTyped 207 days ago
> Keeping a framework/app/SDK “pure” is very important, in my experience.

Could you elaborate?

1 comments

I’m a fan of “singleness of purpose.”

For example, if the framework provides text storage, adding text processing might be a mistake. Instead, make another framework that can be strung onto the text storage one.

It increases the granularity, and the usefulness of the modules. You could have multiple processing frameworks.

In addition, it allows you to refine discrete functionality domains (which can also be personnel assignment domains), and reduces the places for bugs to manifest. You can devote more tests to each framework.

I see. I follow the same approach; with my interns I try to force them to define logical boundaries and think / design their software as libraries / components that compose together nicely.