Re: [ALL] Design question: static utility classes

2013-08-29 Thread Benedikt Ritter
Yep, makes sense... Thanks Matt. 2013/8/29 Matt Benson > I prefer a slight variant: don't give the user static methods on a > different class, just give them one static method yielding an instance > configured for default behavior. I think that's the basic approach being > taken with CSV form

Re: [ALL] Design question: static utility classes

2013-08-29 Thread Matt Benson
I prefer a slight variant: don't give the user static methods on a different class, just give them one static method yielding an instance configured for default behavior. I think that's the basic approach being taken with CSV formats, no? Matt On Thu, Aug 29, 2013 at 1:52 PM, Oliver Heger wrot

Re: [ALL] Design question: static utility classes

2013-08-29 Thread Oliver Heger
Am 29.08.2013 10:26, schrieb Benedikt Ritter: > 2013/8/27 Oliver Heger > >> Am 27.08.2013 07:06, schrieb Phil Steitz: >>> On 8/26/13 11:28 AM, Oliver Heger wrote: Am 26.08.2013 16:18, schrieb Phil Steitz: > > On Aug 26, 2013, at 7:38 PM, Oliver Heger < >> oliver.he...@oliver-heger.de

Re: [ALL] Design question: static utility classes

2013-08-29 Thread James Carman
We already discussed this. On Thu, Aug 29, 2013 at 4:26 AM, Benedikt Ritter wrote: > 2013/8/27 Oliver Heger > >> Am 27.08.2013 07:06, schrieb Phil Steitz: >> > On 8/26/13 11:28 AM, Oliver Heger wrote: >> >> Am 26.08.2013 16:18, schrieb Phil Steitz: >> >>> >> >>> On Aug 26, 2013, at 7:38 PM, Oliv

Re: [ALL] Design question: static utility classes

2013-08-29 Thread Benedikt Ritter
2013/8/27 Oliver Heger > Am 27.08.2013 07:06, schrieb Phil Steitz: > > On 8/26/13 11:28 AM, Oliver Heger wrote: > >> Am 26.08.2013 16:18, schrieb Phil Steitz: > >>> > >>> On Aug 26, 2013, at 7:38 PM, Oliver Heger < > oliver.he...@oliver-heger.de> wrote: > >>> > Am 25.08.2013 18:45, schrieb A

Re: [ALL] Design question: static utility classes

2013-08-27 Thread Oliver Heger
Am 27.08.2013 07:06, schrieb Phil Steitz: > On 8/26/13 11:28 AM, Oliver Heger wrote: >> Am 26.08.2013 16:18, schrieb Phil Steitz: >>> >>> On Aug 26, 2013, at 7:38 PM, Oliver Heger >>> wrote: >>> Am 25.08.2013 18:45, schrieb Adrian Crum: > +1 > > -Adrian > > On 8/25/2013 9

Re: [ALL] Design question: static utility classes

2013-08-26 Thread Phil Steitz
On 8/26/13 11:28 AM, Oliver Heger wrote: > Am 26.08.2013 16:18, schrieb Phil Steitz: >> >> On Aug 26, 2013, at 7:38 PM, Oliver Heger >> wrote: >> >>> Am 25.08.2013 18:45, schrieb Adrian Crum: +1 -Adrian On 8/25/2013 9:26 AM, James Carman wrote: > AtomicReference? >>>

Re: [ALL] Design question: static utility classes

2013-08-26 Thread Oliver Heger
Am 26.08.2013 16:18, schrieb Phil Steitz: > > > On Aug 26, 2013, at 7:38 PM, Oliver Heger > wrote: > >> Am 25.08.2013 18:45, schrieb Adrian Crum: >>> +1 >>> >>> -Adrian >>> >>> On 8/25/2013 9:26 AM, James Carman wrote: AtomicReference? >> >> There are multiple aspects here. One is the saf

Re: [ALL] Design question: static utility classes

2013-08-26 Thread James Carman
I'm a fan of the "bean-based" approach (no static methods). Seems cleaner to me. On Mon, Aug 26, 2013 at 10:08 AM, Oliver Heger wrote: > Am 25.08.2013 18:45, schrieb Adrian Crum: >> +1 >> >> -Adrian >> >> On 8/25/2013 9:26 AM, James Carman wrote: >>> AtomicReference? > > There are multiple aspec

Re: [ALL] Design question: static utility classes

2013-08-26 Thread Phil Steitz
On Aug 26, 2013, at 7:38 PM, Oliver Heger wrote: > Am 25.08.2013 18:45, schrieb Adrian Crum: >> +1 >> >> -Adrian >> >> On 8/25/2013 9:26 AM, James Carman wrote: >>> AtomicReference? > > There are multiple aspects here. One is the safe publishing of a value > written into the member field. Th

Re: [ALL] Design question: static utility classes

2013-08-26 Thread Oliver Heger
Am 25.08.2013 18:45, schrieb Adrian Crum: > +1 > > -Adrian > > On 8/25/2013 9:26 AM, James Carman wrote: >> AtomicReference? There are multiple aspects here. One is the safe publishing of a value written into the member field. This can be achieved by atomic references, synchronization, or a vola

Re: [ALL] Design question: static utility classes

2013-08-25 Thread Adrian Crum
+1 -Adrian On 8/25/2013 9:26 AM, James Carman wrote: AtomicReference? On Sunday, August 25, 2013, Phil Steitz wrote: On 8/24/13 11:33 AM, Oliver Heger wrote: Hi all, regarding a principle design question I would like to get your opinion: In [configuration] there are a few static utility c

Re: [ALL] Design question: static utility classes

2013-08-25 Thread James Carman
AtomicReference? On Sunday, August 25, 2013, Phil Steitz wrote: > On 8/24/13 11:33 AM, Oliver Heger wrote: > > Hi all, > > > > regarding a principle design question I would like to get your opinion: > > > > In [configuration] there are a few static utility classes. One of them > > is BeanHelper w

Re: [ALL] Design question: static utility classes

2013-08-25 Thread Phil Steitz
On 8/24/13 11:33 AM, Oliver Heger wrote: > Hi all, > > regarding a principle design question I would like to get your opinion: > > In [configuration] there are a few static utility classes. One of them > is BeanHelper which supports the creation of beans from configuration > data. The actual bean c

[ALL] Design question: static utility classes

2013-08-24 Thread Oliver Heger
Hi all, regarding a principle design question I would like to get your opinion: In [configuration] there are a few static utility classes. One of them is BeanHelper which supports the creation of beans from configuration data. The actual bean creation is done by a BeanFactory which can be configu