The Real Python Podcast cover image

Measuring Python Code Quality, Simplicity, and Maintainability

The Real Python Podcast

00:00

Is Recursion Really a Problem in Python?

In a lot of cases we're dealing with data structures and concepts that have some element of recursion to them. But there are definite ways of approaching problems that don't seem naturally recursive, where you introduced recursion,. And that makes it more complicated. It might make the code simpler, but it doesn't necessarily make it easier to reason about. An example for me was trin gets a grip with functional programming, and and stead of trying to understand a list of, like, linked lists, he comes up with this concept of 'plusses'

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