Re: Class Properties in Interfaces?

From: Date: Wed, 30 Apr 2008 16:22:07 +0000
Subject: Re: Class Properties in Interfaces?
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-37360@lists.php.net to get a copy of this message
If you guys don't like the way interfaces work then do not use them. If your going to talk about cycles, just lose the abstraction all together. Important for some. You once again, with all your hand flapping, assume > we want some kind of operation on the data. If we do not, and this > happens a lot, then we're just wasting cycles... and order of magnitude > more cycles. You speak of cycles, but I downloaded your framework that you created and grepped for get and set methods, and what did I find? Thinks like: function getId() { return $this->sessionId; } function setId( $newId ) { $this->sessionId = $newId; } function setNew( $status=true ) { $this->newSession = true; } function isNew() { return $this->newSession; } function &getDataStructure() { return $this->data; } This is wasting space in my mailbox, this conversation is pointless. I'm trying to read about thinks that are important like language changes. -Chris

« previous php.internals (#37360) next »