Archive

The Dulin Report

Browsable archive from the WordPress export.

2022

In most cases, there is no need for NoSQL Apr 18, 2022 TypeScript is a productivity problem in and of itself Apr 20, 2022 Best practices for building a microservice architecture Apr 25, 2022 Good idea fairy strikes when you least expect it May 2, 2022 If you haven’t done it already, get yourself a Raspberry Pi and install Linux on it May 9, 2022 Most terrifying professional artifact May 14, 2022 Peloton could monetize these ideas if they only listen May 15, 2022 Am I getting old or is it really ok now to trash your employer on social media? May 25, 2022 There is no such thing as one grand unified full-stack programming language May 27, 2022 Automation and coding tools for pet projects on the Apple hardware May 28, 2022 Java is no longer relevant May 29, 2022 Good developers can pick up new programming languages Jun 3, 2022 Scripting languages are tools for tying APIs together, not building complex systems Jun 8, 2022 Keep your caching simple and inexpensive Jun 12, 2022 All developers should know UNIX Jun 30, 2022 Monolithic repository vs a monolith Aug 23, 2022 Why don’t they tell you that in the instructions? Aug 31, 2022 Using GNU Make with JavaScript and Node.js to build AWS Lambda functions Sep 4, 2022 Stop Shakespearizing Sep 16, 2022 The Toxic Clique Sep 28, 2022 Book review: Clojure for the Brave and True Oct 2, 2022 Why you should question the “database per service” pattern Oct 5, 2022 Why I am a poll worker since 2020 Nov 11, 2022 If we stop feeding the monster, the monster will die Nov 20, 2022 Things to be Thankful for Nov 24, 2022 Working from home works as well as any distributed team Nov 25, 2022 Should today’s developers worry about AI code generators taking their jobs? Dec 11, 2022

Automation and coding tools for pet projects on the Apple hardware

May 28, 2022

One doesn’t need to look back to the 1980s to find computers that have built-in ways of automating them



This blog is a great way to track the evolution of my thinking. For example, over 9 years ago, I wrote about how modern computers are Overcomplicated for the purposes of teaching:




So, how do we introduce programming to children? Algorithmic thinking is an important skill for a 21st-century world even if you don’t end up becoming a software engineer. I have shown my 6 year old daughter how to program in MIT Scratch. To spice things up I put the Scratch itself on a USB stick and showed her how to load and save her programs. She seems to get it.

What is needed, however, is a very simple computer that boots into the BASIC interpreter much like the home computers of 1980s. Programmable calculators fulfill this goal to an extent and by all means should be introduced in schools at a very early stage. But nothing excites the imagination as a more tangible computer with tools that help a child produce a shareable executable program they can show off. Raspberry Pi is extremely intriguing and I am tempted to order one. But then – my kids are still too young to appreciate it and I am too busy, but I know a day is coming when I am going to show them how to get a small inexpensive computer do amazing things.




My daughter is now learning Java1 in high school. I would like to review the topic of the complexity associated with programming modern computers.



I think computers should come with all the tools needed to code them.




Sinclair ZX Spectrum 48K via WikiMedia Commons.



I miss the days of things like Commodore 64 or Sinclair ZX Spectrum when you could go to a RadioShack and buy a computer. When you plugged it in and turned it on, it would boot into a BASIC interpreter and say READY on the screen. It was as if it would say, “The world is your oyster! Go forth and be creative!”



In high school, I used programmable calculators of one kind or another. Those devices boot straight into a programming language interpreter, and you can code them right away.



Another computer that I used in the past was a Psion Series 5 palmtop. Aside from the built-in apps for word processing, spreadsheets, and organizing, it had a built-in BASIC-like programming language called OPL



It is very complex to get started with the coding on a modern computer. The choices of programming languages are suffocating, and the ceremony of getting set up to write code is overwhelming.



Since 2013 I’ve dissected my thoughts on this subject, and my thoughts have evolved. What is needed is not so much a built-in programming language as a way to automate tasks, and I think in 2022, we are in a better state than we were in 2013. I am an Apple fan, so I will focus on the Apple world.



Here is where we are concerning built-in support for automation. I focus on readily available tools that don’t require additional steps, such as creating different user names and accounts.




Spreadsheets




Many people use spreadsheets to automate tasks without realizing they are actually writing code. Apple provides Numbers as part of their core experience.




Shortcuts




All iOS, iPadOS, and macOS devices come with the ability to create complex workflows using Shortcuts. The scripts can get quite complicated and can be used to coordinate activities across apps.




Swift Playgrounds




I really do miss computers of old that booted straight into a BASIC interpreter. 



Swift Playgrounds gets pretty close to that. Swift is a programming language Apple created specifically for their devices. It is relatively simple to learn and can be used for anything from simple automation to arcade games, just like BASIC could be used on the 1980s computers.



Swift Playgrounds on the iPad reminds me of the OPL interpreter on my Psion Series 5.




Some last thoughts




Though modern computers are a lot more complex in many ways, Apple does understand the need of power users and students to explore and create. In another post, I will explore my setup for pet coding projects and automation that go beyond Numbers, Shortcuts, and Swift Playgrounds.









  1. Java is not a good first programming language to learn, but we’ll revisit it in another post ↩︎