7 ms·
> Has some cool feature actually, like Blocks etc. The blocks are kinda crummy though, and the verbosity is definitely verbose. `enumerateObjectsUsingBlock:` i
by masklinn 15y ago
> Has some cool feature actually, like Blocks etc.
The blocks are kinda crummy though, and the verbosity is definitely verbose. `enumerateObjectsUsingBlock:` is a far cry from Smalltalk's `do:` (and its signature is awful too, even more so due to ObjC's lack of generics)
- zbowling 15y ago... so create a category called "do:" and change the signature (clang won't bark at you like GCC). blocks are closures and they have some semantics like function pointers.