Re: Class Static variables in double quoted string or heredoc
| From: | Robert Cummings | Date: | Fri, 25 Apr 2008 17:19:58 +0000 |
| Subject: | Re: Class Static variables in double quoted string or heredoc | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-273577@lists.php.net to get a copy of this message | ||
On Fri, 2008-04-25 at 11:11 -0600, Nathan Nobbe wrote:
> On Fri, Apr 25, 2008 at 11:01 AM, Robert Cummings <robert@interjinn.com>
> wrote:
>
> > On Fri, 2008-04-25 at 10:55 -0600, Nathan Nobbe wrote:
> > >
> > > bah; concatenation operator - schmacatatenation operator! i dont really
> > > care about that; but i would like to see support for $a::$someStatic come
> > > back. thats what im whining about ;)
> >
> > That funny part, IMHO, is that on internals they often complain about
> > new features not being simple enough for the supposed mentally incapable
> > masses. And yet there's support for this kind of double quoting stuff
> > that just makes me think poor form, bad style, and where's my t-shirt.
>
>
> are you saying this feature is too esoteric for you ? :)
No, it's too, hmmm... what's the word... REDUNDANT!
:)
> besides i didnt create the double quoted support and thats not even what im
> arguing about anyway. the syntax ive mentioned was there in a pre-5.2.4
> release (discovered it didnt actually make the cut for the 5.2.4) it save
> you from having to write ugly little helper methods and thats a benefit i
> wouldnt mind having.
There's a reason they call it "pre-release". It means it's not
"final" ;)
> php has a great dilema, it wants to cater to a wide range of users; from
> newbs to experts. thats a massive undertaking and well if youre gonna do
> it, you may as well go whole-hog IMHO.
I don't see how the throwing everything and the kitchen sink into double
quotes support caters to either of these groups. It strikes me, and of
course that's who matters here >:), that it caters to the messy, "I wish
I REALLY knew what I was doing", slovenly crowd.
Just because a feature exists, doesn't mean you should use it!
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP