Re: [PHP] Class Static variables in double quoted string or heredoc
[email protected] (Robert Cummings)
| Newsgroups | php.general |
|---|---|
| Organization | InterJinn |
| Message-ID | <1209143998.27601.31.camel@blobule> |
On Fri, 2008-04-25 at 11:11 -0600, Nathan Nobbe wrote: > On Fri, Apr 25, 2008 at 11:01 AM, Robert Cummings <[email protected]> > 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