Re: Re: Opinions / Votes Needed
| From: | Per Jessen | Date: | Sun, 18 Jan 2009 16:08:15 +0000 |
| Subject: | Re: Re: Opinions / Votes Needed | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-286601@lists.php.net to get a copy of this message | ||
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