5 ms·
Objective-C adopted some syntactic "quirks" from smalltalk, but they are not similar at a semantic level.
by tester89 5y ago
Objective-C adopted some syntactic "quirks" from smalltalk, but they are not similar at a semantic level.
- skohan 5y agoWhat are the key differences? My understanding was that both languages are heavily built around message passing between objects and dynamic dispatch.
- gpderetta 5y agoIn particular, similarly to Smalltalk and differently for example from C++, Objective-C does method dispatching from empty interfaces and has does-not-understand functionality. Everything Is An Object in Smalltalk, and of course this can't be true in Objective-C due to its mixed heritage.
- andrekandre 5y agoin smalltalk you are always running inside of a live system, so if you made a mistake its immediate that it happened right then and there, but in obj-c its a code-build-run environment so the place you changed and the state you have to progress to to exercise that change are far away and you might not catch it until runtime / in the field.