Re: php7- dropping the $ from the variable name - rfc
| From: | mike | Date: | Thu, 18 Sep 2008 17:38:43 +0000 |
| Subject: | Re: php7- dropping the $ from the variable name - rfc | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-40547@lists.php.net to get a copy of this message | ||
On Thu, Sep 18, 2008 at 7:47 AM, marius popa <mapopa@gmail.com> wrote:
> I was looking at the examples used in php.js library
> http://phpjs.org/functions/index
> and it struck me that is cleaner to read the functions and code without the
> $ names in it
>
> From what i understand $ in front of variables is an Perl legacy
This is an utterly horrible idea. No offense. Why would you change
the entire syntax of the language? I don't think any language has
-ever- changed it's syntax like that once it's been established...
Personally I love the $. It makes it so much easier to identify
variables. It's a single character. Can't see the need honestly to
even bring this up.