people will tell you that your code having State is a sin, so you will rewrite it, creating all these nested functions and callbacks so that all the state, which could have been an enum or a few bools somewhere, is instead packed into the path the instruction pointer takes through the code, and can only be seen as a faint squiggle on the doppler radar trace
0
Replies
1
Boost
No replies yet
Be the first to share your thoughts.