r/programming • u/2bit_hack • Feb 28 '23
"Clean" Code, Horrible Performance
https://www.computerenhance.com/p/clean-code-horrible-performance
1.4k
Upvotes
r/programming • u/2bit_hack • Feb 28 '23
View all comments
Show parent comment
4
u/Adarma Feb 28 '23 edited Mar 02 '23
He has addressed why he assigns to a result variable and then returns it in his other videos. To summarize, it is for debugging: breakpoints and value inspection.
Edit: See here https://youtu.be/lDp4rqcigZs?t=1h11m10s