Re:Using a Framework will harm the maintenance of your software
by abracadabra_ on Thursday October 13, 2022 @04:05AM
(#33188471)
Write small, well tested services in the easiest to use framework you can find. If the service becomes hard to maintain then replace it. This should be a simple job guided by the tests.
[ Parent
| on HN ]
Re:Using a Framework will harm the maintenance of your software
by willsmith72 on Thursday October 13, 2022 @04:21AM
(#33188573)
Not everything should be a small service
Re:Using a Framework will harm the maintenance of your software
by abracadabra_ on Friday October 14, 2022 @05:15AM
(#33201307)
Maybe not, but the larger it is the harder it is to change.
There are pros/cons to both sides.
Re:Using a Framework will harm the maintenance of your software
by 42e6e8c8-f7b8-4 on Thursday October 13, 2022 @07:34AM
(#33189643)
People talk about services like libraries aren't a thing. That exact same statement with `s/services/libraries/`.
"Write small, well tested libraries..."
If you have a library with a solid, small public interface and you carefully maintain compatibility on that interface with great testing, you can be decoupled. Plus you don't have 2 network interfaces and the internet injected into a call to the interface.
Re:Using a Framework will harm the maintenance of your software
by abracadabra_ on Friday October 14, 2022 @05:14AM
(#33201297)
Yes, this applies almost equally well to libraries as well. With the slight exception that you are not just bringing the library into your code but all of its dependencies as well. This makes it _slightly_ harder to wholesale change a library compared to a service.