This seems like VERY basic coding, but I rarely see newer coders breaking problems down like this.
Background: A while ago I wrote about the basic programming principles I've been using for 30 years.
https://rosswintle.uk/2025/07/the-way-i-code/
I then recorded a video of using those principles.
And I’m extracting some little shorts from it too! Like this!