3 ms·
> It's not as bad as being introduced to PHP by WordPress i had to learn PHP to do WordPress stuff (after programming in other langs for many years). what's so
by uryga 6y ago
> It's not as bad as being introduced to PHP by WordPress
i had to learn PHP to do WordPress stuff (after programming in other langs for many years). what's so bad about their usage of PHP?
(off the top of my head: in WP's "everything happens in some hooked callback" model, debugging can be a pain, lots of messing with globals and gluing strings together)
- chipotle_coyote 6y agoYour "off the top of my head" would be the main ones I would have come up with, maybe not quite as fast as you did. :) WP is very much of its time in terms of PHP good (and bad) practice. (Also, WP's style guidance is super weird compared to, well, just about any other PHP style that I've ever seen anywhere, or that of any other C-style language, for that matter. I know that's subjective, but it's Just. So. Weird.)