Link Category: Ideas
“Hello, World!” in 30 (Programming) Languages
I know that this is a WordPress-focused site. But I also know that programming is as central to WordPress as writing. So I thought I’d share this fun little article that simply and clearly lays out the (classic) “Hello world” program in 30 different programming languages. It’s fun to get a quick sense of how much “boilerplate” each language requires, how it chose to say “show on the screen,” etc. And because of the simple format of the post you’ll not be confused about it. Great job to the post’s author Al Muhimen. 🙂
Hack at Slack
There are a number of different reasons I wanted to share this article about the programming language “Hack” here on Shout. The first one is just that I found it an interesting and pleasant conversation of the use and benefit of the (poorly named) PHP-like language that arrived in the world when Facebook’s PHP performance bottlenecks started to bother them too much.
Block Dependent Themes
An interesting thing as Gutenberg grows is that it’s aiming to impact both WordPress themes and page builders. And to do this, we may need or want a way for a theme to say it required a specific Gutenberg block to function. I have not thought deeply about it, but I see that Mel Choyce is. So please consider and opine with her about this possibility. Here are two parts of her initial proposal:
How and Why to Make a Customer Journey Map
I’ve loved Torque Mag for a long time as a great source for both technical and editorial content based around WordPress—even if customer satisfaction data and personal experience have me feeling more lukewarm about WP Engine itself.
Don’t Just Write WordPress Code
One of the first and most powerful lessons I learned while teaching myself to code a decade ago was to read/listen/watch widely. I believe it is one of the most powerful choices you can make in learning to code (or in almost any endeavor). Because broader minds (ones which have been exposed to more things) are often *way* better problem-solvers than narrower ones. Because the solution space they can conceive is just so much bigger. But that’s enough “David’s Life Philosophy” for now.
Even on PHP 7, WordPress is not “Modern PHP”
Our friend Carl Alexander wrote a (possibly) inflammatory but true argument for Delicious Brains this week. It reflects a lot of thoughts I’ve had as I’ve spent the last few years as one of the small minority of people trying to span the roles of “WordPress” and “modern PHP” developer. In short, he’s said all I’ve thought in a fair, even handed, and useful way. While action is hardly guaranteed, helping to reach a public consensus about the state of WordPress PHP is the first step in evolving toward making it a modern PHP project (if that’s ever desired by enough of the right people, of course).
Thoughts on Collaborative Editing in WordPress
I really enjoyed reviewing this post from Steve Burge over at PublishPress (whose plugin we recently published a Quick Guide about). What he covers is the dream of Google Docs-style collaboration in WordPress’s native post editor. As he highlights, this is something that Matt Mullenweg has kind of committed the WordPress project to, and a great feature for us all if/when it arrives.
Alain Schlesser on the Cost of Contribution
I’ve never really been someone who contributed to WordPress in a disciplined and direct way. (Which is to say, I’ve never had code I’ve written pulled into the WordPress project.) As a result, I can’t really say what the cognitive landscape of doing that is like. Which is precisely why I found this article from Alain Schlesser (best known to me for his work on WP-CLI) so interesting.
Interview with Ghost Founder John O’Nolan
Easier Lazy Loading (for Chrome)
So, Chome 76 (or later. But what version of Chrome am I running anyway?) is getting a feature that would have saved me at least a little work on a few client projects. That is, it’s making lazy-loading of images and iframes as easy as: