Reassess parametric design architecture for artifact attributes and functions #89
Labels
architecture
A change that involves a rearchitecture of the software
exploratory
An investigation of some sort that may or may not pan out into a feature
Milestone
Should a system be accessing the attributes of a component, and if that component does not have a value for that attribute, can it call a function to get that value?
Consider also the case the component has value, is its ability to recompute the attribute removed? What about conflicting values? I.e. a component is defined with attributes, but the function to compute a particular attribute returns a different value than the one that is defined. How to handle?
Or should every attribute that a system wants to extract from a component/subsystem be accessed with a "get_attribute()"?
How about placing a "if self.attribute exists, return the attribute" instead of computing the value? Or on init: self.attribute = attribute if it exists or else self.get_attribute
Some driving design factors
The text was updated successfully, but these errors were encountered: