Alternative typeof syntax

Clemens eriatarka84 at gmail.com
Wed May 19 01:40:36 PDT 2010


Ary Borenszweig Wrote:

> Clemens wrote:
> > Nick Sabalausky Wrote:
> > 
> >> Besides, I love member access syntax in general. In addition to (safely) 
> >> reducing parenthesis, it also sidesteps the oddity that nested function 
> >> calls are written/read *backwards* from the order of execution (ie, 
> >> "A(B(C()))" means "call C, then B, then A"). I've even been toying with the 
> >> idea of a language design that places primary emphasis on member-call syntax 
> >> and consistent left-to-right ordering.
> > 
> > You mean like Smalltalk?
> 
> You mean like Ruby? :-)

Heh, yes ;)

Of course Smalltalk was there first, prior art and all that. I had some fun with it again over the weekend... it's a really neat language, a shame that it never really caught on in a big way. Perhaps the whole image-based development thing was just too different from how everyone was/is working.

By the way, another interesting (though less widely known) language that also builds upon that legacy is Io: http://www.iolanguage.com/


More information about the Digitalmars-d mailing list