Re: prototypes for getters and setters.
| From: | Derick Rethans | Date: | Wed, 13 Nov 2002 12:47:58 +0000 |
| Subject: | Re: prototypes for getters and setters. | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90964@lists.php.net to get a copy of this message | ||
On 13 Nov 2002, Timm Friebe wrote:
> On Wed, 2002-11-13 at 02:31, Alan Knowles wrote:
> > Thanks to a little chat (and a few beers) with Zak at the conference, I
> > got wondering if this syntax would be a sensible addition...
> [...]
> > syntax:
> > var [getter method] [setter method] $variable .....;
> +1
>
> Plus, another syntax suggestion (coming in closer to Delphi):
I'm -1 on these klugdes, as the overload functionality works fine IMO.
Derick
--
---------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
JDI Media Solutions
--------------[ if you hold a unix shell to your ear, do you hear the c? ]-