This site provides the following access keys:

Brandan Lennox's

WordPress's 800-line Function

This is the PHP ethos:

WordPress's get_posts() function is nearly 800 lines long WordPress’s get_posts() function

The get_posts() function is 796 lines long. They just kept adding more and more conditions and filters and callbacks, and now it’s absolutely unmanageable. (I was trying to debug a faulty plugin and ended up in here dumping variables every few lines because it was impossible to tell who was changing what when.)

It reminds me of PHP in general, tacking on support for object-orientedness, closures, and other high-level abstractions to an initially simple procedural language that wasn’t ever meant to power something as complex as WordPress.