Coding by any other name

Hit and Miss #178

Hello!

It’s a wonderfully sunny day here—sunshine, cheer for the heart and soul.

I recently learned that you can only open 500 tabs in Safari on iOS.

I know, I know—500 tabs!? I’ve read most of them; they don’t crush my consciousness, they’re not unanswered letters guilting me into paralysis. They’re waiting to be filed away.

I adore bookmarking. Pinboard is my tool of choice, with about 4,200 links saved. For most, I’ll add a few tags, and maybe summarize or excerpt it. My Pinboard archive often fuels this newsletter—I’ll curate recently saved links to share with you.

But, some time last year, my iOS Pinboard app broke. It wouldn’t cooperate consistently, so I gave up on bookmarking tabs. But I didn’t want to lose that history of what I’d read or found interesting, so I kept them open.

Recently, though, I discovered iOS’s Shortcuts feature. You can automate certain actions, like setting a timer or logging data. You can chain those actions, and feed them input. For example, you could have a “laundry timer” shortcut that asks whether it’s a long-duration or short-duration load, and sets the timer length accordingly. (A contrived example, maybe, but stay with me.)

If you write code, this might sound familiar. It’s programming: actions done in sequence according to user input. What’s neat about Shortcuts is it allows you to program actions on your phone, across its built-in and third party apps. You can do some very impressive work with Shortcuts. (And if you invest in a bunch of accessories… well, there’s even more, but we won’t get into that.) I rigged up a “save to Pinboard” shortcut that just works, reliably.

Tools like these may be great avenues to introduce people to programming concepts, like conditionals (if this happens, then do that) and variables (take what the person typed in, use that in the next step, maybe transforming it along the way). Their potential stems from their fusion of programming concepts with a context and actions that matter to people—their phone, and whatever it can do. It can be compelling to learn a concept like programming in service of making something you do every day a bit easier, a bit less repetitive. And you don’t need to set up a development environment!

This reminds me of “Yes Code”, as a response to “no code” tools: that we should make it easier to learn to code, even in small ways, because of the advantages it unlocks. It’s exciting to see Airtable’s continued success, as it allows you to build automations (programming apps, essentially!) around very rich datasets, with just a little bit of coding—whether coding explicitly or through sequenced blocks.

Writing this reminds me how much I miss mentoring at Ladies Learning Code (now Canada Learning Code) events, the real satisfaction that comes from learning to solve small problems well. The world is cool!

All the best for the week ahead. Seek out sunshine when you can!

Lucas