Re: [PHP] Re: Constructor usage

2010-04-05 Thread Peter Pei
On Sun, 04 Apr 2010 17:46:19 -0600, Nathan Rixham wrote: Larry Garfield wrote: Hi folks. Somewhat philosophical question here. I have heard, although not confirmed, that the trend in the Java world in the past several years has been away from constructors. That is, rather than this:

[PHP] Re: Constructor usage

2010-04-04 Thread Nathan Rixham
Larry Garfield wrote: > Hi folks. Somewhat philosophical question here. > > I have heard, although not confirmed, that the trend in the Java world in the > past several years has been away from constructors. That is, rather than > this: > > class Foo { > public void Foo(Object a, Object b,