Nathan Rixham wrote:

>> You can't have your cake and eat it.  You can't/shouldn't have strong
>> and loose typing in the same language.  In my opinion.
> 
> "Instead of providing programmers with a black or white choice between
> static or dynamic typing, we should instead strive for softer type
> systems. That is, static typing where possible, dynamic typing when
> needed. Unfortunately there is a discontinuity between contemporary
> statically typed and dynamically typed languages as well as a huge
> technical and cultural gap between the respective language
> communities."

I'm not sure whether to take you seriously now - you're quoting from a
Microsoft research paper? :-)

>> By all means create a PHP++, but leave PHP as it is.  It has
>> enough "feature"-bloat already.
> 
> you do have a good point, I've thought that myself often and indeed it
> was brought up in the namespace discussions - however if it's optional
> then why fork?

Because it would be such a major change (as Tony has also pointed out) -
ones PHP code would work with "php -normal", but would fail miserably
with "php -strongtyping".  In essence, with your optional strong typing
enabled, you'd have a different language.  


/Per Jessen, Zürich


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to