Re:Using a Framework will harm the maintenance of your software
by bulatb on Thursday October 13, 2022 @02:15AM
(#33187846)
Maybe common structure, not common parts. "Framework" is a good description: it gives you the shape, you fill it in.
[ Parent
| on HN ]
Re:Using a Framework will harm the maintenance of your software
by valenterry on Thursday October 13, 2022 @02:43AM
(#33187986)
Care to elaborate the difference? In both cases common code is extracted.
Re:Using a Framework will harm the maintenance of your software
by vidarh on Thursday October 13, 2022 @03:43AM
(#33188334)
The article includes a crucial point about inversion of the flow of control. Somewhat exaggerated: You call into a library; a framework calls into your code.
The old archetype of a framework might be one which expects to control an overall event loop for your application.
In practice many things we would still recognise as frameworks allows you to undo that, but I still think it's a useful rule of thumb in that even many frameworks which technically allows you to remain in control of the overall flow tend to assume the framework will mostly dictate structure and flow.