M
mp
I'm thinking through a design decision.
I have a class Stock : Investment{}
part of the process is reading 85 bits of information about each stock each
day.
the info may be stored in a database to view change over time.
perhaps i will create charts or reports in future?
if i read the data and put it directly in the database
i can hear a voice inside my head saying "that's "data-centric" vs oop"???
does it make sense to create a class StockData?
and give it 85 properties to hold each piece of info?
then StockData objects can be responsible for entering/reading
themselves from the database???
and a class with 85 constructors???
sounds like i may get some
feedback on that idea!?!
thanks
mark
I have a class Stock : Investment{}
part of the process is reading 85 bits of information about each stock each
day.
the info may be stored in a database to view change over time.
perhaps i will create charts or reports in future?
if i read the data and put it directly in the database
i can hear a voice inside my head saying "that's "data-centric" vs oop"???
does it make sense to create a class StockData?
and give it 85 properties to hold each piece of info?
then StockData objects can be responsible for entering/reading
themselves from the database???
and a class with 85 constructors???
sounds like i may get some
feedback on that idea!?!
thanks
mark