Hacker News new | ask | show | jobs
by austincheney 1803 days ago
When you now have things like TypeScript that allow you to define interfaces completely external from your logic you have already addressed half of what frameworks solve for without writing a single line of code. After that the only things left that frameworks provide are APIs and composition. If you know what you are doing you define your APIs first in consideration for the business logic and save composition for the final step after all other logic is written. Then you can make any adjustments to your internal APIs as necessary to glue things together. No framework is needed, minimal refactoring, and a smaller code base with less complexity because a generic framework doesn’t know your business requirements in advance.