Legacy Code Rocks cover image

Software Design with John Ousterhout

Legacy Code Rocks

00:00

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.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app