Re:Upcoming changes in PHP 7.1
by mcbits on Monday May 23, 2016 @09:05AM
(#11753567)
I've seen quite a few JavaScript bugs and potential bugs exposed after adding incomplete type annotations in TypeScript, so I really don't think it's all or nothing, at least not as a general rule. I've been away from PHP too long to speculate how much it would help here.
[ Parent
| on HN ]
Re:Upcoming changes in PHP 7.1
by TazeTSchnitzel on Monday May 23, 2016 @09:25AM
(#11753660)
Sure, it's not all-or-nothing, type checks that aren't enforced at runtime have some benefits, I just disagree that they can provide all of them.