Why not all statement are expressions ?
deadalnix
deadalnix at gmail.com
Tue May 8 03:27:09 PDT 2012
Le 08/05/2012 08:22, Jacob Carlborg a écrit :
> On 2012-05-07 22:37, deadalnix wrote:
>
>> This won't work anyway. We are talking about language grammar here. If
>> made expression, statement would be of type void. Just like assert is.
>
> Says who? :)
>
OK, make statement expression could open some door. But here isn't the
point of my question. I don't want to make any proposal without being
sure of why the decision was made in a first place.
More information about the Digitalmars-d
mailing list