Originally posted by: notfred
Originally posted by: Yomicron
I really like Smalltalk. One of these days I want to learn Python.
Objective C is supposed to be an extension of C, except instead of adding objects likle they did in C++, they tried to add them more like Smalltalk. Thing is, I've never even seen smalltalk, so I don't know what that's like. Mind elaborating a bit?
I've never seen any Objective C, so I can't compare the two. But Smalltalk is a very structured language, purely OO (no primitive types). The Smalltalk development environments are nice as well, if an exception occurs it shows you the complete stack, allowing you to backtrack through your code to find exactly where the error occurred. You then have the ability to correct the error and restart the program from that exact point. Also, during runtime you can monitor the state of any object.
You also have access to the source code of the all the classes, want to know what methods an Integer has? just look at its code.
There are a lot of little things that speed up development time too, for example, if you want to perform some operation on every element in a Collection, be it an Array, Linked List, or whatever:
aCollection do:
[ :each |
...
].
aCollection = the collection object (such as an array) holding your data;
each = the current individual element you are working on (aCollection[ i ])
... = the code you want to execute for each element.
EDIT: I forgot to mention that Smalltalk is an interpreted language, I belive Objecive C is complied.