TechPostsFromX on Nostr: Implementation frameworks are canned bits of design optimized for a general case. ...
Implementation frameworks are canned bits of design optimized for a general case. When used in a specific case, they always add complexity because they handle eventualities that will never occur in your application. Unnecessary complexity is never a good thing.
Even worse, the frameworks' architectures often dominate the application. When you look at the code, what you see is the framework with intelligent warts hanging off of it. I want the inverse of that. At the highest level, I want to see the domain of the problem and the structure of the solution to that problem. I want the implementation details so well hidden that when I look at the top level, I don't see those details.
Finally, I, at least, almost always end up banging against something I need to do that the framework can't do. Crafting a workaround is always difficult and sometimes impossible. Frameworks are closed systems, often with zero extensibility or flexibility built in.
Of course, we want to leverage code and capabilities that others have written. That doesn't mean that we need an all-encompassing framework, however. For example, I'd much rather use a small stand-alone security library than a huge framework that happens to have a security aspect.
Source: x.com/allenholub/status/1848047153932910662
Published at
2024-10-20 17:45:47Event JSON
{
"id": "12dbde52ce28d2f89fec447f08e3c4e3c3ce19ec36a8498b5e6d9f80a9b8767f",
"pubkey": "52d119f46298a8f7b08183b96d4e7ab54d6df0853303ad4a3c3941020f286129",
"created_at": 1729446347,
"kind": 1,
"tags": [],
"content": "Implementation frameworks are canned bits of design optimized for a general case. When used in a specific case, they always add complexity because they handle eventualities that will never occur in your application. Unnecessary complexity is never a good thing.\n\nEven worse, the frameworks' architectures often dominate the application. When you look at the code, what you see is the framework with intelligent warts hanging off of it. I want the inverse of that. At the highest level, I want to see the domain of the problem and the structure of the solution to that problem. I want the implementation details so well hidden that when I look at the top level, I don't see those details.\n\nFinally, I, at least, almost always end up banging against something I need to do that the framework can't do. Crafting a workaround is always difficult and sometimes impossible. Frameworks are closed systems, often with zero extensibility or flexibility built in.\n\nOf course, we want to leverage code and capabilities that others have written. That doesn't mean that we need an all-encompassing framework, however. For example, I'd much rather use a small stand-alone security library than a huge framework that happens to have a security aspect.\nhttps://image.nostr.build/abfd73696f96b6d46c946d89c76bbb17155f283a562190bfd593ebf3ea2be2ab.png\n\nSource: x.com/allenholub/status/1848047153932910662",
"sig": "2a9c1a47b1bdbbd3f170dfb88dd724612cb1057bf5b639eee445b15dac6abdaf92ac32793f2c91501346b76b6c51bedbb94cbeb142c2adea83e2093015740e9a"
}