2 ms·
Callbacks are basically COME FROM, epecially on a platform like a cell phone where you at least in theory have limited processing resources ($40 android phones
by spiritplumber 13y ago
Callbacks are basically COME FROM, epecially on a platform like a cell phone where you at least in theory have limited processing resources ($40 android phones need apps, too!). They are the devil.
- dragonwriter 13y ago> Callbacks are basically COME FROM No, they aren't even similar to COME FROM. COME FROM is "upon reaching label X, jump to this point". Callbacks have less in common with COME FROM than with GOTO, and less in common with GOTO than with normal procedure/function invocation. > epecially on a platform like a cell phone where you at least in theory have limited processing resources Platform is completely orthogonal to the relation between callbacks and other programming constructs.
- spiritplumber 13y agoI see your point, but they read a lot like come from when looking at code. And platform is not orthogonal: sometimes I need to know exactly what is using how many cpu cycles, and callbacks make it hard. Admittedly I mostly do embedded dev, but there's a reason why I have the only remote control / video app out there that still works on a HT G1 :)