Block APIs are NOT harmful

Block APIs are NOT harmful:

humancode-us:



I take exception to Drew Crawford’s recent post that block-based APIs introduce “harmful” surprising side effects into Objective-C, especially under ARC. Drew’s post calls attention to NSNotificationCenter in particular, but really, any block-based API is susceptible to these same kinds of…





via Tumblr http://scalper.tumblr.com/post/68927455562

このブログの人気の投稿