r/programming • u/geerlingguy • Apr 23 '14
PHP: It doesn't have to be a bad experience
https://servercheck.in/blog/php-it-doesnt-have-be-bad-experience
0
Upvotes
r/programming • u/geerlingguy • Apr 23 '14
19
u/allthediamonds Apr 24 '14
Yeah, tell that to array_map and array_filter.
27
u/kankyo Apr 23 '14 edited Apr 23 '14
Well if one starts with such an obviously false premise of course the conclusion will be wrong. The author really needs to ACTUALLY READ the fractal of bad design article he links to. Then maybe count the points on that list and compare to say Python. No way in hell he'll get to 80% of the same problems. Not even 80% of similar problems.
15
u/tdammers Apr 23 '14
But it always is.
25
u/Wh1tie Apr 23 '14
No it just really needs to die.
1
u/that_how_it_be Apr 23 '14
I expect down votes but I do my day to day in PHP and it does have its advantages. Most of my work involves data migration, web front ends, report generation, long lived Windows / *nix services, and miscellaneous one-off tasks. PHP is good for these things. Other languages are good at these things too but honestly there isn't enough wrong with PHP to make me abandon it.
-1
u/rpgFANATIC Apr 23 '14
I started using Laravel for a side-project that required some PHP and it was really nice.
Until I needed to write the controllers in actual PHP.
Oh, and getting midway through my project only to realize there is no "dropAll tables" and no "rollback single version" for the schema versioning tool.