Coding Blocks cover image

Clean Code – Writing Meaningful Names

Coding Blocks

00:00

The Problem With Single Letter Variable Names

One of the problems is when you do like nested loops, and you're trying to just make your variable names as short as possible. There is a problem with single letter variable names. Certainly, loop counters can be named i, j or k, though never l if the scope is small. And so if you use names ar pronounceable, it'll be easy for you to talk about it with somebody else - which is a big deal.

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