bearophile, el 13 de enero a las 12:01 me escribiste:
> > btw. Do any other languages have an "auto" var idiom?  I don't remember 
> > Scala having such (and it's really modern), though perhaps my memory lapses.
> 
> In C# it's named "var" that's one char shorter :-) Other languages have 
> something similar, a local form of simple type inference.

Go allows var and an even shorter alternative, the := operator:

var x = 1   <===>   x := 1

-- 
Leandro Lucarella (AKA luca)                     http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
Me encanta el éxito; por eso prefiero el estado de progreso constante,
con la meta al frente y no atrás.
        -- Ricardo Vaporeso. Punta del Este, Enero de 1918.

Reply via email to