Re: wishlist item for 6.0.0
| From: | Marcus Boerger | Date: | Sat, 08 Oct 2005 15:56:09 +0000 |
| Subject: | Re: wishlist item for 6.0.0 | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19516@lists.php.net to get a copy of this message | ||
Hello Stanislav,
$.this_is_ridiculous, as in $.this != $this
marcus
Thursday, October 6, 2005, 11:14:39 AM, you wrote:
HH>>>So i'm all for keeping the $this-> prefix even though it adds some
HH>>>extra typing ...
> Just a thought - we could have compromise solution, i.e. some syntax sugar
> to mean $this->foo - for example $.foo or something like that. This way we
> have clear visual difference between locals and properties and at the same
> time save a lot of $this-> typing. Of course, the downside is that you
> coudl type $. accidentally :)
> --
> Stanislav Malyshev, Zend Products Engineer
> stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115
Best regards,
Marcus