News for hackers. Stuff that matters.
Re:Write Libraries, Not Frameworks by d0m on Saturday May 09, 2020 @05:20PM (#23128408)
IMHO, the framework vs library debate is similar to the inheritance vs composition.

Inheritance: You must predict how people will use your class. Make a mistake and they're screwed and need to resort to all kinds of hack. (Like frameworks)

Composition: People will use your class if it fits their needs. They can easily wrap the code, tweak or simply discard it. (Like libraries)

There are no comments on this comment yet.