4 ms·
My guess is we are talking of different things when envisioning micro abstractions. I have in mind the projects that went from a handful of data structures and
by taeric 5y ago
My guess is we are talking of different things when envisioning micro abstractions.
I have in mind the projects that went from a handful of data structures and functions to dozens of each. Typically in the vein of abstracting away whatever immediate problem was faced in the code.
Have a workflow? Make a workflow abstraction that can run any work.
Have code that needs to retry? Make a retry facility that can retry for any reason. Than make a grammar to specify what backoff should be used.
While doing those, realize you want a rules engine to determine what work and what backoff to use.
Then, put in a sat solver. To determine if a plan can be done.
...
None of these are really bad things, in and off themselves. Odds are high they would all be poorly done, or themselves a giant undertaking.