"Stelian Mocanita" wrote in message news:CAMc0WS6+1Y-5yJW2s=mw+yns6tn8m5ieaxe10mwnlrl0_dz...@mail.gmail.com...

On Fri, Feb 6, 2015 at 12:57 AM, Andi Gutmans <a...@zend.com> wrote:

The folks who really want all this great strict typing should head over to
Oracle.com and download free open-source Java? I hear it's got a lot of
strict typing features in it. Only downside is that it'll take them 10x
longer to complete their projects. OK sorry. Had to say that :) I realize
it's not the same...

Sending people who want to have more structure in the language to Java
is downright bad, not to mention that it sounds completely dictatorial. I
would just put that in the next Zend newsletter to make it clear for your
customers that there is a saner option.

Stelian


It is not as bad as saying "PHP has been weakly typed for the past 20 years, but PHP 7 will be strictly typed, so every developer will have to change his entire codebase in order for his application to run under PHP 7". If you are one of those who "cannot" program in a language which doesn't have strict typing, then why are you using PHP in the first place? Why aren't you using Java as Andi suggested?

If you want to change the typing mechanism in PHP then remember that it *IS* weakly typed whether you like it or not, and will always be so. If you want to introduce strict typing then it must be optional, and it must not interfere with any of the existing PHP 5 applications.

--
Tony Marston


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to