Are Python nested function calls a bad practice?

Kyle Pastor
RE:Stacked
Published in
3 min readFeb 21, 2023

--

Photo by Tine Ivanič on Unsplash

Question

In python, are nested function calls a bad practice?

Summary and Code Example

Nested function calls are not inherently bad practice in Python or in programming in general. In fact, nested function calls can often make code more concise and easier to read. However…

--

--

Kyle Pastor
RE:Stacked

Analytics | Full Stack | Data Science | MS Physics + MS Quant Finance → http://kapastor.github.io/