4 ms·
The main problem with this approach is that it conflates type hierarchies (through class inheritance) with developer convenience; there are reasons why both att
by BerislavLopac 7y ago
The main problem with this approach is that it conflates type hierarchies (through class inheritance) with developer convenience; there are reasons why both attrs and dataclasses chose the decorator approach.
- smitty1e 7y agoI might quibble at calling this a "problem". Every ingredient in the rack is spice. There is a "proper" amount to use for the recipe. Let good taste be the guide. Never go Full [language I like to drag].