Then I looked up 'callbacks considered harmful'. Hmmm....
It's probably easier for an IDE to track down a function if you want to see how the code works, however, and the function might have some useful explanatory comments.
Suggested article: "People who claim code can explain itself considered harmful"
https://www.opensourceforu.com/2012/02/function-pointers-and...
Then I looked up 'callbacks considered harmful'. Hmmm....
It's probably easier for an IDE to track down a function if you want to see how the code works, however, and the function might have some useful explanatory comments.
Suggested article: "People who claim code can explain itself considered harmful"