note 27207 deleted from ref.overload by sniper

From: Date: Thu, 06 Feb 2003 14:20:07 +0000
Subject: note 27207 deleted from ref.overload by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-43515@lists.php.net to get a copy of this message
I should properly not say it but personally i think that the language gets a little bit poluted with the use of all the __ in functions we could better use keywords for instance, your code gets more structured like: class testclass { get myname() { return $this->name; } set myname(&$value) { $this->name=$value } } and then you could access it like: $cTestClass = new testclass(); $cTestClass->myname = "Emile"; echo $cTestClass->myname; Also all the handeling of the properties is than not centralized but devided in seperate namespaced functions so easilier manageble.

« previous php.notes (#43515) next »