wrote in message news:28ba9e6a-a3f2-2547-d294-f3a1710d5...@rhsoft.net...
Am 30.12.2017 um 11:37 schrieb Lester Caine:
On 30/12/17 09:16, Tony Marston wrote:
You are missing the point. If an RFC is so badly written that someone
does not understand it, or understand what benefits it is supposed to
provide, then there is no point in up-voting it
if i don't undrstand it i don't vote at all - that's the point
not up
not down
If you can't understand it then you cannot tell what benefit it gives to
the greater PHP community, and if you cannot see that it provides any
benefit then you should vote it DOWN.
The 'greater PHP community' I continue to support is still only looking
for a simply life, but each iteration of PHP7 is just making things more
and more complex, which is why I STILL have not switched off PHP5 and
5.4 and earlier is still running a large percentage of sites. Just what
percentage of the wider community thinks that strict typing is giving an
essential benefit? If there was a groundswell for typing then perhaps we
would not have this continual debate on just how to jam a little more of
a move that way and get on with a version of PHP that is only typed.
Then for one can simply avoid it ...
who thinks it don't give you a benefit?
for new code it's the best you can do do get it as bugfree as possible and
fro old code you still are not forec to any typehints and for migration you
have weak types too
sorry, but discuss end of 2017 if types was a goof d idea and talk about
the 'greater community' but still run PHP5? in the meantime I have changed
*everything* written in the last 15 yeas to strict_types=1 and type hints
everywhere - you find so much potential bugs that it's worth
Some of us are clever enough to write code that doesn't have those types of
bug in the first place. I developed my framework in PHP4 before type hints
even existed, and I developed a large enterprise application with that
framework which is now being sold to large corporations all over the world.
That codebase has moved from PHP 4 through all versions of PHP 5 and is now
running on PHP 7.1. During these upgrades I have only changed my code to
deal with what has been deprecated, and I have never bothered with any of
those new optional extras (such as typehints) unless I have been convinced
that the effort of changing my code has measureable benefits.
The idea that typehints provide benefits to the whole PHP community is
completely bogus. It only provides apparent benefits to those programmers
who have moved from a strictly type language to PHP and who feel lost
without the crutch that a strongly typed language seems to provide. I work
faster with a dynamically and weakly typed language, so speed of development
is far more important to me. Any so-called bugs are detected and fixed
during the testing phase, so I don't want the language being slowed down
performing checks that I don't want.
--
Tony Marston
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php