4 ms·
blocks. but they are dangerous when dealing with threading.
blocks. but they are dangerous when dealing with threading.
Huh? As far as I can tell, blocks are callback hell in this case, certainly the nested callback lambdas in the JavaScript examples are essentially equivalent to blocks.
Blocks are callbacks in Objective-C