Arc Forumnew | comments | leaders | submitlogin
2 points by lst 6089 days ago | link | parent

Smalltalk: everything is wrapped around (real!) Object Orientation.

Lisp: everything is wrapped around Lambda Calculus using nothing but lists, lists and lists.

Now, you can express OO in LC (and vice versa), but Lisp is simply much simpler at its very base (and this means, in this context, that it's automatically more ingenious).

And that's the whole point. So, if you have the choice...



1 point by globalrev 6089 days ago | link

everything in python is also an object just like in smalltalk right(or python has primitives?)?

what is the difference(well in this regard, obv they are different) then between smalltalk and python?

-----

5 points by gnaritas 6084 days ago | link

Everything is python is not an object. Python uses procedural control structures like if/else/while/for implemented as special keywords. Smalltalk implements those control structures with objects, the Boolean subclasses True and False which have methods ifTrue:ifFalse: and the class BlockContext which implements methods such as whileTrue: and whileFalse:.

Having objects is entirely different from using objects as the basic building block of every abstraction in the language. Objects in Smalltalk are what S-expressions are to Lisp. Python and Ruby just have objects, but those languages aren't built from objects.

-----