4 ms·
It's a common case in PHP, but might have less to do with the language's inelegance than the size of the app. I doubt a comparable CMS in Python/Ruby/etc, with
by nir 16y ago
It's a common case in PHP, but might have less to do with the language's inelegance than the size of the app. I doubt a comparable CMS in Python/Ruby/etc, with a similar number of contributors and plugins developed over 8 years would really be much better.
(Rails/Django might be a different case, due to the benefits of having an MVC framework as base. But these exist in PHP as well)
- jshen 16y agoI haven't looked at wordpress code in a really long time, but 5 or so years ago I had to hack up a wordpress install for a client. There was one giant monolithic method that created a string for the sql query to get the posts for pretty much every imaginable part of a wordpress site that is an index of posts. there was a combinatorial explosion of options you could pass this monolith and it was nearly impossible as someone who didn't write it to figure out how to make it do something really simple like add paging to the RSS url. There is no reason any code in any language should have this sort of problem. It isn't merely cruft from a long legacy of existence.