The Real Python Podcast cover image

Measuring Python Code Quality, Simplicity, and Maintainability

The Real Python Podcast

00:00

How Many Directions Are There Through My Code?

It's fundamentally a question, if you have a piece of code, how many directions are there through it? How how many branches might i take on my way from top to bottom? And in practice, that's kind of hard to calculate in modern programming languages. We've started to develop a bunch of pieces of syntax that aree more or less ubiquitous and then not at all defined in the original definition of psychlomatic complexity. S i canna, like researching this on cos it was a great example of something that it was very easy to find descriptions of the calculation that avoided cand of what it was actually trying to measure.

Play episode from 32:11
Transcript

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