How about Smalltalk-2000?

Stefan Matthias Aust sma at 3plus4.de
Sat Feb 19 12:44:17 UTC 2000


At 10:31 17.02.00 +0000, Torge Husfeldt wrote:
>OperationalHi,
>Yes, who need operators!!

Well, he how doesn't want to bother with implementation details (which is 
what I consider #+ being a message send) but simple express mathematics as 
learned in school.

>I think to explain smalltalk it would be sometimes easyer to even omit
>the assingment operator.

I disagree. If you have only message sends if more difficult to express you 
intention.  You only communicate a message send, otherwise you tell the 
read that this is an assignment, an array access, a method call or whatever.

So at least keep some convention to help the reader (like #is... or #has... 
is a boolean test method).  Withouth assignment, it becomes difficult to 
distinguish a normal single keyword message from a setter.

Therefore, I like the idea to replace

  object name: 'sma'
with
  objct name := 'name'

as Dan told was possible in ST-76.


bye
--
Stefan Matthias Aust  //  ...dancing on the Darkside of the Moon





More information about the Squeak-dev mailing list