Re:Introducing Swift
by infinite8s on Wednesday June 04, 2014 @12:36PM
(#7846571)
This is exactly what gives you the ability to easily wire up standard UI components and do tihngs like KVO. KVO is really difficult in something like C++ (for example, it's practically impossible to do in Qt to create without a lot of templating/boilerplace code).
In Smalltalk and Objective-C, the target of a message is resolved at runtime, with the receiving object itself interpreting the message. ... A consequence of this is that the message-passing system has no type checking.
http://en.wikipedia.org/wiki/Objective_c#Messages