
Thinking in Array Languages with Alex Shroyer
Software Unscripted
How to Recognize for Loops in a Procedural Language
In a procedural language like C, for example, you often encounter things like doubly nested for loops. So the double nesting is a pattern and a C programmer learns how to recognize that pattern. In an array language, I might think of that entire chunk of like four tokens as one unit. It's sort of more like replace a for loop with a single character that means the same thing. And then if you see two of them in a row, you recognize the pattern, right?
00:00
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.