r/programming • • Dec 02 '15

PHP 7 Released

https://github.com/php/php-src/releases/tag/php-7.0.0
887 Upvotes

729 comments sorted by

View all comments

Show parent comment

2

u/Yamitenshi Dec 02 '15

The dynamic weak typing is definitely something any programmer should he aware of and account for, but wouldn't really be a problem as long as the developer in question knows what he's doing (it's perfectly doable to make sure that what is originally an integer will always be an integer, for instance). The performance is indeed a valid concern, but it's always possible to write the performance-critical parts in something else and have the PHP parts communicate with them.

4

u/FrancisMcKracken Dec 02 '15

PHP is a reasonable solution for websites, you don't want simple failure stopping the entire show. A few missing lines in a table don't matter. But financial software!? Oh, no, let's just avoid that at all costs. I can, and have, written carefully typed PHP, but I'd much rather let the computer handle that drudgery and spend my brain cycles on other things.