1
Redundancy vs dependencies: which is worse?
(yosefk.com)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
Gaining weight or losing weight?
What problems do you have? Are you having latency issues that could be resolved by reducing external dependencies? Are you having difficulty synchronizing multiple components that each implement the same behavior?
It's better, in my view, to know how to tell what challenge your code is actually facing. Sometimes this will lead to more aggressive decoupling and sometimes it will lead to externalization of shared functionality. Deciding these things ahead of time is a recipe for fanaticism.