Closed mieszko4 closed 7 years ago
I would also drop new when constructing CoffeeOrderContext and CoffeeFlavorFactory since they return custom objects but I am not sure if perhaps it would be better to change them to real constructors returning this.
new
CoffeeOrderContext
CoffeeFlavorFactory
this
I would also drop
new
when constructingCoffeeOrderContext
andCoffeeFlavorFactory
since they return custom objects but I am not sure if perhaps it would be better to change them to real constructors returningthis
.