Re: RE: Optional scalar type hinting
| From: | Sam Barrow | Date: | Thu, 03 Jan 2008 21:44:44 +0000 |
| Subject: | Re: RE: Optional scalar type hinting | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-34358@lists.php.net to get a copy of this message | ||
On Thu, 2008-01-03 at 13:37 -0800, Stanislav Malyshev wrote:
> > suitable to enterprise level development. it's merely a case of
> > not being able to please everyone all of the time (or of not having your cake
>
> PHP is pretty good with pleasing people (including enterprise
> developers) as it is now, and will get better in 5.3 and 6 - without any
> strict typing. So this argument is not exactly in your favor - burden of
> proof is on new feature proposals, and bigger the feature - bigger the
> burden.
Very true. But we have to make sure to give new features a completely
honest and objective view, strictly on their technical merits.
> > I also seem to remember (forgive me if Im mistaken) that you we're a
> > proponent for the increases in strictness surrounding various things related
> > to OO. that feels rather hypocritical at some level.
>
> Like what? You don't expect me to have same opinion to all proposals, do
> you?
>
> > you implied in another post that php should have some kind of structured direction.
> > how about a language spec and a formal functionality proprosal/acceptance mechanism?
>
> Yes, I'd be happy to see it happening. No, I don't have time to create
> it. If you do - you know where to find a text editor and docbook build
> system ;)
>
> > (preferably one that didn't allow major changes like the inclusion of namespaces into
> > a minor release)
>
> 5.3 is a "major" release from a lot of aspects, don't let the numbering
> fool you. It is generally accepted that waiting for PHP 6 to make any
> change would be too long. Unfortunately, we couldn't find a number
> between 5 and 6 for a version number, so we'd have to settle on 5.3.
Definitely, and namespaces have caused me no problems and I've been
developing in PHP 5.3 (heavily using namespaces) for a couple of months.
I supported and still do support the namespace implementation 100%.