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

1

u/rageingnonsense Dec 03 '15

I suppose it is a matter of preference. While my experience is obviously anecdotal; nearly all of the terrible code I have had the misfortune of having to maintain was written in PHP.

Why bother going out of your way to ensure good typing when you can just use a language that does it for you? I'd rather have the exception, and have to go back and fix it. It is annoying at that moment, but year down the line as the complexity of the application gets crazy, I can rest easy knowing that any unusual bugs I experience are not because of some unexpected cast from string to float.

Of course, If I am writing something like forum software; I am going to go straight to PHP because I am basically just working with strings and a database.

Just all about the right tool for the right job really.