To reorganize code, what to choose between library and service?
- by essbeev
I want to reorganize a large application with lot of code duplication into multiple components. Plus, some code is also duplicated over other applications.
The common set of functionality that can be taken out of main application is clearly defined.
Now, do I write a library or do I write a service for this functionality;
so that all such applications continue to work and there is only one code-base (of common functionality) to maintain ?