Simple task framework - building software from reusable pieces
- by RuslanD
I'm writing a web service with several APIs, and they will be sharing some of the implementation code. In order not to copy-paste, I would like to ideally implement each API call as a series of tasks, which are executed in a sequence determined by the business logic.
One obvious question is whether that's the best strategy for code reuse, or…