maxfarnham / PharmManager

UIC CS342 Pharmacy Inventory management project
0 stars 0 forks source link

Factory vs Template #4

Closed maxfarnham closed 10 years ago

maxfarnham commented 10 years ago

@justodiaz, do we need the factory in here? I think the factory is unnecessary and doesn't really add any value. We were thinking of using the template pattern instead, in the observables, which may fit more naturally into our problem.

justodiaz commented 10 years ago

I agree, factory doesn't add anything special, I just wanted to experiment with what patterns could fit. By all means, add patterns that make more sense. The sizes can be represented with a simple string really, instead of sub-classes from a bulk/shipment.