Dev Diary #2: Run Away from Nesting Functions in Your Code | HackerNoon
Briefly

Convoluted nested functions create challenges in understanding data transformation, calculation, and the overall flow of execution within complex systems, obscuring the debugging process.
Encounters within deeply nested functions can lead to reduced visibility and increased difficulty in tracking the flow of data and operations across multiple code layers.
Read at Hackernoon
[
|
]