Wait, did he just use lines of code as a success metric unironically?
Wait, did he just use lines of code as a success metric unironically?
It may also have to do with the brevity of the respective languages; I'm not a Ruby or PHP expert, but I do Go and Python and I would not be surprised if the Go version required an order of magnitude more lines because of how verbose it is and how terse Python can be.
Comparing lines of code in different languages, doing different things, with differing levels of complexity, is an exercise in futility.
Not only that, he also compared php code to ruby code. Totally different languages.
I'm not even arguing which one is better or worse (i dislike them both) but for example ruby is way more expressive than php... You (usually) need less lines of ruby code than php code to do most things.
Clownish, clownish.
I've dealt with WordPress for so many years! It's sickening! Even the overglorified WooCommerce - I won't trust a business with it. I've done only a few sails and I had data loss, and so many issues.
Also, WooCommerce and other popular plugins such as GiveWP abuse the posts system. I've had so many issues causes by patch upgrades, because migrations went bonkers!
Honestly, WP had to be rewritten from scratch 10 years ago. There were some attempts, but they were not supported by Matt. With a rewrite, most plugins and "themes" would have stopped working, but if they are not maintained, they shouldn't be used anyway. I put "themes" in quotes as executable code is not a theme - it's a plugin installed in a different directory!
In general, WordPress is a patch over patches of patches! From mu-plugins (i.e., "must-use") to filters that could hijack the data read from the database - it's nearly impossible to trace which plugins screw up which plugins - even with the help of the overly glorified debugging plugins!
I've participated in a project where the management has decided to migrate a commercial online newspaper from a commercial Python CMS to WordPress - they hired me as I had PHP on my resume and it was hard to find PHP developers in SoCal. Anyway, for over a year, I had to completely remove WordPress from serving customers! Yes, everything was proxied, cached with nginx and optimized ngx_pagespeed (now abandoned). At the time, no commercial WP plugin could keep our website up! For example, an earthquake would take our website down, too, because people would go on our website to check for information and guess what happens if tens of thousands of people want to see the same page when according to the cache it's expired - there was no queue and it would generate 10,000 requests trying to regenerate the same homepage, which was making well over 500 DB calls to render!!!
WordPress hasn't changed much since! Yeah, PHP 7+ is much better, but it is still multi-process. The number of processors is determined by your available memory, and WordPress sometimes uses a lot of memory. That's why the only solution is heavy caching on all tiers!
That's not a real statistic. It powers 40% of the long tail of web but not 40% of the access. With Google + Meta included I would guess wordpress doesn't serve even 10% of web.