3 ms·
Knowing nothing more about this codebase than the above, I would fire everyone and make the CEO's nephew write it. It could hardly turn out worse and it would
by carapace 10y ago
Knowing nothing more about this codebase than the above, I would fire everyone and make the CEO's nephew write it. It could hardly turn out worse and it would be a lot cheaper.
(I'm joking, but only barely.)
- RubyPinch 10y agoThe reduced usecase (story?) is the following The customer requests the following @? class somename (?): an_attr_a = ADescriptor(somestuff) an_attr_1 = ADescriptor(somestuff) an_attr_a1 = ADescriptor(somestuff) One of their expectations is that the attributes have their definition order stored somewhere. You may either use the decorator method, or the metaclass method