Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37362 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82810 invoked from network); 30 Apr 2008 16:29:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Apr 2008 16:29:40 -0000 Authentication-Results: pb1.pair.com header.from=robert@interjinn.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=robert@interjinn.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain interjinn.com from 66.11.173.122 cause and error) X-PHP-List-Original-Sender: robert@interjinn.com X-Host-Fingerprint: 66.11.173.122 unknown Received: from [66.11.173.122] ([66.11.173.122:59539] helo=interjinn.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4F/05-55591-37E98184 for ; Wed, 30 Apr 2008 12:29:40 -0400 Received: from [192.168.1.3] (blobule.suds [192.168.1.3]) by interjinn.com (Postfix) with ESMTP id 8143611FB6D; Wed, 30 Apr 2008 12:29:35 -0400 (EDT) To: Chris Stockton Cc: Nathan Nobbe , RQuadling@googlemail.com, "John Carter -X (johncart - PolicyApp Ltd at Cisco)" , internals@lists.php.net In-Reply-To: References: <48169695.9040803@omegavortex.net> <1209518549.7057.313.camel@blobule> <7dd2dc0b0804292051o4fd5e77eu6f8faecad93c378a@mail.gmail.com> <1209528338.7057.349.camel@blobule> <7dd2dc0b0804292127p484d8c7g9cf852f0a79a8dc6@mail.gmail.com> <1209532046.7057.368.camel@blobule> <7dd2dc0b0804292222h29c8845k456f6546cbdbece6@mail.gmail.com> <1209535288.7057.406.camel@blobule> <7dd2dc0b0804300839t49c5788dsf3e536d4eafb844f@mail.gmail.com> <1209570941.6963.70.camel@blobule> Content-Type: text/plain Organization: InterJinn Date: Wed, 30 Apr 2008 12:29:36 -0400 Message-ID: <1209572977.6963.84.camel@blobule> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Class Properties in Interfaces? From: robert@interjinn.com (Robert Cummings) On Wed, 2008-04-30 at 09:22 -0700, Chris Stockton wrote: > 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. I use both styles where I find them appropriate. I already mentioned in a previous email that support of such a feature doesn't impact me much, but that Jeremey's original argument is still valid. Personal attacks on my coding style or my framework have no bearing on the topic being discussed. My framework was originally designed 6 years ago before many of the great features of PHP5. Feel free to sit back down and ignore these emails. BTW, hard-drive space is cheap, "wasting space" is such a bullshit argument for text emails. Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP