3 ms·
You can also write a library, which is a different thing than framework. What you're saying is a false dichotomy, based on different understanding of the term "
by js8 10y ago
You can also write a library, which is a different thing than framework. What you're saying is a false dichotomy, based on different understanding of the term "framework".
I think what mainly distinguishes framework and library is that framework dictates you conventions outside its own code, where library does not. This dictate can be as simple as "I must be in charge of running the program, i.e. the top-level thing".
See, the conventions are not bad per se, however, they do not compose. So bundling conventions with potentially reusable code, as frameworks do it, is a wrong idea.