Closed waldoj closed 12 years ago
Holy wow this is awesome. For the record, I do want to point out, that I normally comment quite religiously. See generally https://github.com/benbalter/WP-Document-Revisions/blob/master/wp-document-revisions.php :)
I think this approach actually works better, though. By not commenting this, I'm forced to figure it out, which requires that I read your code more critically. And then by reading my comments, you can verify that they're correct. The result should be better code and better commenting. Think of it as asynchronous pair programming. :)
Some baby steps towards commenting this in sufficient detail that somebody who doesn't know PHP can understand it and replicate it, along with a demystifying description of the program's reliance on WordPress.