3 ms·
Protocols and delegation are only consequences of the true difference between Objective-C and the Java/C# mindset - which is that messages between objects are i
by aufreak3 16y ago
Protocols and delegation are only consequences of the true difference between Objective-C and the Java/C# mindset - which is that messages between objects are independent of the objects that send and receive them. In other words, messages are independent of the actual function call they cause in the end. So you can store, forward and broadcast messages, delay invocations, change invocation targets (classes, not just objects) on the fly etc.
In yet more words, "late binding".
- fleitz 16y agoThis was only true up until C# 4.0, C# now has dynamic (late) binding. Not sure how much of a PITA dynamic invocation is in Java.
- arethuza 16y agoWhich is nice except that Visual Studio 2010 seems to be a unreliable pig of an application. Which is a shame as I really rather like Visual Studio 2008.