
Software Design with John Ousterhout
Legacy Code Rocks
How to Name a Loop
For simple loops, I typically just use I as a, as an iterative variable. If it gets bigger or more complicated, then it may be important to start having a name that is a little bit more descriptive of the particular thing you're doing in that loop. And this is where the tools could help it. Everyone should be using an IDE that has reasonably powerful that can do simple refactorings like renames for you automatically.
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.