INITIALIZING makes sense to me Ralph
> On Sep 1, 2015, at 12:29 AM, Remko Popma <[email protected]> wrote: > > If you want the naming to be consistent, then why not INITIALIZING? > > That gives you > <state>ING and <state>ED for all states. > > But I'm fine with just INITIAL as well. > > Remko > > Sent from my iPhone > >> On 2015/09/01, at 15:32, "Dominik Psenner" <[email protected]> wrote: >> >> Agreeing with Gary. To me „INITIAL“ is not what this state means and it is >> too familiar with “INITIALIZED”. One can easily misread and mix up the two >> states. Something like “ALLOCATED”, “INITIALIZE_ME”, “UNINITIALIZED”, .. >> would be more to the point. But that’s again my subjective impression. >> >> Dominik >> >> Von: Ralph Goers [mailto:[email protected]] >> Gesendet: 31 August 2015 23:58 >> An: Log4J Developers List <[email protected]> >> Betreff: Re: org.apache.logging.log4j.core.LifeCycle.State.INITIAL >> >> 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]> >> wrote: >> How are either of those “better”? >> >> Ralph >> >> >> On Aug 31, 2015, at 1:50 PM, Gary Gregory <[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] | [email protected] >> Java Persistence with Hibernate, Second Edition >> JUnit in Action, Second Edition >> Spring Batch in Action >> Blog: http://garygregory.wordpress.com >> Home: http://garygregory.com/ >> Tweet! http://twitter.com/GaryGregory >> >> >> >> >> -- >> E-Mail: [email protected] | [email protected] >> Java Persistence with Hibernate, Second Edition >> JUnit in Action, Second Edition >> Spring Batch in Action >> Blog: http://garygregory.wordpress.com >> Home: http://garygregory.com/ >> Tweet! http://twitter.com/GaryGregory >>
