IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Design elegance and maintainability
A design purist would argue you should use the factory so there is only one place that instantiates the objects. If this is part of a big complex system that will be maintained by a team of programmers, I would tend to agree. At that point design elegance and maintainability are more important then the speed penalty of one DB call. On a smaller scale project, I wouldn't bother.

Jay
New Sounds right
Every exception is something else I have to remember if I ever need to change it. Better to have one interface than three.
--

Drew
     Advice on factory methods - (drook) - (3)
         There are benefits to both. - (static)
         Design elegance and maintainability - (jay) - (1)
             Sounds right - (drook)

Mine almost shook the furnace apart.
45 ms