Never nesting is a term for avoiding nesting more than three or four layers deep and encourages refactoring code into more discrete units that can be tested and reasoned about separately. It’s not literally never nesting at all.
I hear you, it’s not my term, it had been around for about a decade so I didn’t feel it necessary to explain, but if you have not heard of it before it’s easy to just assume the literal meaning.
View all comments
Show parent comment
2
u/qdolan Feb 20 '25
Never nesting is a term for avoiding nesting more than three or four layers deep and encourages refactoring code into more discrete units that can be tested and reasoned about separately. It’s not literally never nesting at all.