auto storage class - infer or RAII?

Bill Baxter wbaxter at gmail.com
Sun Nov 12 13:47:03 PST 2006


Andrey Khropov wrote:
> Walter Bright wrote:
> 
> 
>>("let" is far worse, as it gives the impression that D is some sort of new
>>Basic language.)
> 
> 
> Forget about Basic, 'let' is used in ML that pioneered the concept of type
> inference!

Forget about ML, 'let' is used in Lisp, the granddaddy of all functional 
programming languages!

> And there is also 'def' (from define)
> (used in Nemerle for this purpose, in many languages indicates function
> definition).

It's a slightly different meaning -- let in functional programming 
languages, and def in Nemerle define something that's immutable.  But 
close enough.

> But I'd like to see it short (3-4 characters) otherwise typing 'int' would be
> simpler :).

Indeed.



More information about the Digitalmars-d mailing list