Re:Are dynamic languages going to replace static languages? ...
by tester89 on Wednesday August 04, 2021 @05:14AM
(#28058872)
Objective-C adopted some syntactic "quirks" from smalltalk, but they are not similar at a semantic level.
[ Parent
| on HN ]
Re:Are dynamic languages going to replace static languages? ...
by skohan on Wednesday August 04, 2021 @05:55AM
(#28059151)
What are the key differences? My understanding was that both languages are heavily built around message passing between objects and dynamic dispatch.
Re:Are dynamic languages going to replace static languages? ...
by gpderetta on Wednesday August 04, 2021 @06:22AM
(#28059326)
In 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.
Re:Are dynamic languages going to replace static languages? ...
by andrekandre on Wednesday August 04, 2021 @01:38PM
(#28063879)
in 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.