views:

20

answers:

1

I'm making a "back-end" engine of HomeCAD. I have a facade class that do many things. But should I separate data (like array of object) from that class? Many thanks

A: 

Not entirely clear on what you are asking here - any class will require some data structures to work.

From the wikipedia page on Facade:

A facade is an object that provides a simplified interface to a larger body of code

You can see that the definition is rather loose, so in my opinion a facade can have data structures, so long as it simplifies the use of your other code.

Oded