News for hackers. Stuff that matters.
Re:Why I Hate Frameworks (2005) by echelon on Tuesday October 19, 2021 @05:18PM (#28923893)
Another perspective is whether the framework is declarative or imperative.

If your code describes what is to be done without making the motions itself, you're using a very heavy framework or, honestly, DSL. These types of frameworks have lots of magic built into them and favor convention over configuration.

If your code performs actions imperatively, and moreover if it's explicit rather than implicit, then it can be easy to wrap or replace the framework. It's like a library.

Re:Why I Hate Frameworks (2005) by DeathArrow on Wednesday October 20, 2021 @02:46AM (#28927546)
But some frameworks allows you to have both convention and configuration. In ASP.NET you start with convention, which is good for the development speed. If you need to replace a functionality provided by the framework or do something in another way, you can do that with ease.
Re:Why I Hate Frameworks (2005) by andybak on Tuesday October 19, 2021 @07:33PM (#28925063)
I've always liked Django's balance of declarative and imperative. The former gives you a clean and terse approach for the common use cases but there's always an escape hatch into the latter.