|
|
|
|
|
by mlthoughts2018
2876 days ago
|
|
This just sounds like bad software designto me. You are miswanting something overly generic that’s super not needed, and regardless of implementing in any given language, it sounds like it would benefit hugely from taking a more YAGNI approach to it, restricting its genericity based on likely usage (not intended or imagined usage), and either just manually writing stuff for an exhaustive set of use cases, or code genning just those cases and not allowing or encouraging arbitrary code gen of possible other cases. I love it when libraries limit what can be done with them and document an extremely specific scope they apply to. When libraries try to be all things to all people, it’s bad. A sophisticatedcode gen tool that enables library authors to choose to do that is a bad thing, not a good thing. |
|
I have ideas for a more general library of course, :P But I'm not spending time on them.