Fred’s post last week was about filtering through arrays of posts and ordering them. He foreach
ed through arrays, and then used PHP’s usort()
function to get a list of alphabetized posts with comments open. That got me thinking a little bit about a topic I very briefly touched on in my summary of the JavaScript ecosystem: functional programming.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed