Description: |
ob Management:
The "Unknown" and "New" state are unclear to us. In our opinion when you create a job either with the factory or
directly with the constructor of the specific incarnation, we enter the "New" state. The "Unknown" state is now reserved
for the very short time the object is instantiated but we directly switch to "New" once the constructor is finished.
The principle in OO programming is to have a stable object once you finish constructing it and calling method; if the
constructor is not enough to have a stable object you need a factory. So when you get an object back it should be in a
stable state, thus the "Unknown" state is superficial in our opinion.
|