To me, “Initial” means the component is in its initial state, whatever that is. Presumably that means the constructor ran but other things still need to happen before it can be started. Another way to look at it is that “initial” means the object has been constructed but initialize() has not yet been called.
Ralph > On Aug 31, 2015, at 2:35 PM, Gary Gregory <[email protected]> wrote: > > Well, that's what I am asking, "better" is subjective ;-). When I see > INITIAL, I think that something happened to make it INITIAL, IOW I do not > feel much a difference with INITIALIZED. Maybe it's just me that needs > convincing. > > What are we trying to convey here? That "new" happened? IOW the ctor was > called? Which should mean the object is initialized. Usually, decent design > says that when you build an object with a ctor, you should initialize it, but > here, of course, with builders, we are in a different situation. Maybe > ALLOCATED happens before INITIALIZED? I kinda like ALLOCATED, it says "I've > been built at a low level but I might be ready to go; put some gas in the > engine before you tirn the key". > > Gary > > On Mon, Aug 31, 2015 at 2:14 PM, Ralph Goers <[email protected] > <mailto:[email protected]>> wrote: > How are either of those “better”? > > Ralph > > >> On Aug 31, 2015, at 1:50 PM, Gary Gregory <[email protected] >> <mailto:[email protected]>> wrote: >> >> I'm not all in on the name for this new state. We now have: >> >> INITIAL >> INITIALIZED >> STARTED >> STARTING >> STOPPED >> STOPPING >> >> Instead of INITIAL, how about NEW or UNINITIALIZED or...? >> >> Gary >> >> -- >> E-Mail: [email protected] <mailto:[email protected]> | >> [email protected] <mailto:[email protected]> >> Java Persistence with Hibernate, Second Edition >> <http://www.manning.com/bauer3/> >> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> >> Spring Batch in Action <http://www.manning.com/templier/> >> Blog: http://garygregory.wordpress.com <http://garygregory.wordpress.com/> >> Home: http://garygregory.com/ <http://garygregory.com/> >> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory> > > > > -- > E-Mail: [email protected] <mailto:[email protected]> | > [email protected] <mailto:[email protected]> > Java Persistence with Hibernate, Second Edition > <http://www.manning.com/bauer3/> > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> > Spring Batch in Action <http://www.manning.com/templier/> > Blog: http://garygregory.wordpress.com <http://garygregory.wordpress.com/> > Home: http://garygregory.com/ <http://garygregory.com/> > Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
