On Thu, Jan 20, 2011 at 3:25 PM, Martin Scotta martinsco...@gmail.com wrote:
and what what happen if the extending class does not call
parent::__construct() ?
__construct is just like any other function, but with semantic added on top
of.
Changing the way it behaves will cause many
Martin Scotta
On Wed, Jan 19, 2011 at 9:19 PM, Stas Malyshev smalys...@sugarcrm.comwrote:
Hi!
Many PHP features should be language constructs, but they were made as
language hacks.
__construct is evil, as like any other language hack
Constructors are standard feature in many
On 20/01/11 23:25, Martin Scotta wrote:
and what what happen if the extending class does not call
parent::__construct() ?
__construct is just like any other function, but with semantic added on top
of.
Changing the way it behaves will cause many headaches
---
BTW, Did you noted that self
On 19/01/11 16:14, Sam Vilain wrote:
In general, Java's basic types typically correspond with types that can
be dealt with atomically by processors, or are small enough to be passed
by value. This already makes things a lot easier.
I've had another reason for the differences explained to me.
I think the point is that the php language itself does not provide solid
construct for writing rock-solid code. Yes, there are many
programmers/hackers that can, but the effort they put is huge.
it's so easy to break well-written bug-free code, that's impossible for
developers to share libraries,
hi,
On Wed, Jan 19, 2011 at 4:41 PM, Martin Scotta martinsco...@gmail.com wrote:
I think the point is that the php language itself does not provide solid
construct for writing rock-solid code. Yes, there are many
programmers/hackers that can, but the effort they put is huge.
Care to enlighten
On 1/19/11 7:50 AM, Pierre Joye wrote:
Honestly if a given part of an application needs something along this
line for performance reasons, then doing that on the same box where
the request is executed may be a bad idea. Tools like gearman will do
a far better jobs and will let you do resource
Hi!
I think the point is that the php language itself does not provide solid
construct for writing rock-solid code. Yes, there are many
programmers/hackers that can, but the effort they put is huge.
I think this is completely untrue.
In Java you are free to extend a class --yours or
Many PHP features should be language constructs, but they were made as
language hacks.
__construct is evil, as like any other language hack
It does not provides a safe fundation to build safe abstractions, reusable
and extendibles components, which leads to the lack of PHP libraries.
Let's
Hi!
Many PHP features should be language constructs, but they were made as
language hacks.
__construct is evil, as like any other language hack
Constructors are standard feature in many languages. There's nothing
evil in them.
class Client {
function __construct() {
// some
10 matches
Mail list logo