[sbe-discussion] Re: message send vs expression

Oscar Nierstrasz oscar at iam.unibe.ch
Mon Apr 7 09:23:12 MEST 2008


Chris is right. we should take a careful look again at this chapter.

Obviously I missed a lot of inconsistencies while I was editing it.


On Apr 7, 2008, at 8:27, stephane ducasse wrote:
>> Sometimes a message send is called a message, sometimes an  
>> expression.
>
> a message is an expression
> expressions are
>
> 	assignement
> 	definition ||
> 	message
> 	blocks
> 	variables


No.  Chris is right.  A message *send* is an expression.  There are  
other expressions too.

1 + 2 is an expression and it is also a message send.  The message is  
"+ 2", which is not an expression.

- on



More information about the Sbe-discussion mailing list