3 ms·
If you write good code then callbacks aren't a problem. Gotos also aren't a problem if you write good code.
by jesstaa 14y ago
If you write good code then callbacks aren't a problem.
Gotos also aren't a problem if you write good code.
- DanWaterworth 14y agoThe 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