kalekundert / byoc

MIT License
0 stars 0 forks source link

Maintain a class-level list of params #46

Closed kalekundert closed 2 years ago

kalekundert commented 2 years ago

With the addition of shared keys, there is now a legitimate (albeit uncommon) need for params to know about each other. Currently this requires iterating through every attribute of the class/superclasses in question, since BYOC doesn't keep track of the parameters defined for each class. I'm now thinking about whether it would make sense to do so.

The benefits:

The drawbacks:

At the moment, I feel like these benefits slightly outweigh the drawbacks.