Per Jessen wrote:
Nathan Rixham wrote:
Tony Marston wrote:
If you really *need* to used a staticly typed language then don't use
PHP, and don't try to change PHP to match your needs.
why not?
Because your desired functionality is already satisfied by other
programming languages. PHP is an interpreted language with all the
strengths and weaknesses that come with it. A need for static or
compile-time typing is a need for a different language, honestly.
/Per Jessen, Zürich
why so strongly against having *optional* static typing?
type hinting is already there + internal functions and classes are all
staticly typed, function params, return types the whole lot.
IMHO if it was to classify all the languages (specifically server side
languages for web apps), PHP has 95% of the features i need, the rest
come no where near, so it's the obvious candidate to get this remaining
5% that'd make it perfect and open it up to a whole set of new users and
markets. Unless it's technically impossible why not?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php