Re: Re: Opinions / Votes Needed
| From: | Nathan Rixham | Date: | Sat, 17 Jan 2009 20:42:07 +0000 |
| Subject: | Re: Re: Opinions / Votes Needed | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-286568@lists.php.net to get a copy of this message | ||
Per Jessen wrote:
Nathan Rixham wrote: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?Tony Marston wrote: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ürichIf 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?