News for hackers. Stuff that matters.
Re:Windows 8: HTML5 and AJAX/JavaScript == Modern UIs by bonch on Sunday June 05, 2011 @03:00PM (#2622613)
> Objective-C does have performSelector, but its awkward to use. It lacks the ability to easily add slots to objects and you often have to work with C types.

-performSelector: takes a selector string, and its variants allow you to pass objects as arguments. I'm not sure why you think it involves C types or why you cite it as the feature that makes Objective-C dynamic (there's considerably more to it than that).

Re:Windows 8: HTML5 and AJAX/JavaScript == Modern UIs by richcollins on Monday June 06, 2011 @01:30AM (#2623803)
I was talking about Objective-C not performSelector, although performSelector does illustrate some problems with C types. You can't return a value with perform selector precisely because of C types (unless you wanted performSelectorReturningInt ... etc)