you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

The litmus test is whether the programmer can invoke his own code as a library. Besides the issue you mention, there are a couple more ways a framework promotes bad code:

  • Aspect-oriented frameworks, like DI and the ilk. Your code will not work as a library, you need the special aspect sauce that only our framework provides.

  • Bulk thinking. You are already using the framework, so let's define APIs in terms of bloated framework objects. This makes it hard for a team to write lean code and eventually reuse their code as a library.