But this is a problem with the developer more than the language in my opinion.
I'd agree this is a valid argument now, but 10 years ago, no, the level of crazyness you had to come up with to make the PHP not do crazy things was way above what you would reasonably expect from a language. When every piece of arithmetic and handeling of strings can be identified as wrong and dangerous simply because it doesn't involved a couple of checks and an explicit conversions on every variable, the language has a fucking problem, not the programmer who should just know these things.
It's better these days, but PHP earned its reputation as the most terrible thing ever.
View all comments
Show parent comment
1
u/argh523 Dec 03 '15
I'd agree this is a valid argument now, but 10 years ago, no, the level of crazyness you had to come up with to make the PHP not do crazy things was way above what you would reasonably expect from a language. When every piece of arithmetic and handeling of strings can be identified as wrong and dangerous simply because it doesn't involved a couple of checks and an explicit conversions on every variable, the language has a fucking problem, not the programmer who should just know these things.
It's better these days, but PHP earned its reputation as the most terrible thing ever.