T
TS
i have a question about this situation:
i have a class that i use that i need to know 1 piece of data that exists in
a different class. Im wondering is it wrong to add the property that i need
onto the first class instead of having to instantiate the whole other class
for a single property?
If it isn't bad, where would you draw the line on what duplicated properties
you have?
thanks for the insight
i have a class that i use that i need to know 1 piece of data that exists in
a different class. Im wondering is it wrong to add the property that i need
onto the first class instead of having to instantiate the whole other class
for a single property?
If it isn't bad, where would you draw the line on what duplicated properties
you have?
thanks for the insight