Title sucks, I know, but I'm having trouble describing my question.
Say I have a class Three_Eyed_Robot
that sees the world in RGB through three eyes. Lets call them Red_Eye
, Green_Eye
, Blue_Eye
, each of which are classes of their own that load a deep learning model for vision, then store the data they see.
My question is this: should I merely have a class attribute for Three_Eyed_Robot
called red_data
and instantiate the Red_Eye
class in a method that sets red_data
, or instead have Red_Eye
be an attribute of Three_Eye_Robot
and use the data by calling Three_Eyed_Robot.Red_Eye.red_data
?
Edit: clearer wording.
Three_Eyed_Robot
ever combine the colors and exposes something more useful, or is simply a facade.