3 ms·
Nice work! It's often hard to communicate complexity and justify the abstractions, but nevertheless it's a cool demonstration of what's possible in Python. It's
by karlicoss 6y ago
Nice work! It's often hard to communicate complexity and justify the abstractions, but nevertheless it's a cool demonstration of what's possible in Python.
It's worth thinking about simplifying code and DSLs, as long as you don't go too crazy.
My personal concern would be the lack of typing annotations (IMO very important to have in a 'standard library'), and even if they were present I doubt something like `store_attr()` would be typeable without a mypy plugin.
Personally, I sometimes trade boilerplate and tolerate code duplication for the sake of the code being transparent to static analysis.