The thing that gotos and callbacks have in common is that they are both extremely powerful. The problem is not that you can't write good code with either construct, it's that you can write bad code.
Abstraction is the process of creating self imposed restraints in order to aid reasoning. Using powerful features like callbacks and gotos is in some sense its polar opposite
Abstraction is the process of creating self imposed restraints in order to aid reasoning. Using powerful features like callbacks and gotos is in some sense its polar opposite