On Thu, 2013-05-30 at 02:19 +0200, MrzlganeE wrote:
[…]
> In places where I write a bunch of short mathy code, I do not 
> want to use 'auto'. The := operator would allow to declare a 
> variable, deduce its type, and define its value.
> 
> void main() {
>      x := 1;
>      y := 2.0;
>      z := x * y;
>      y = 3.0;
> }
[…]
> 
>      for (i := 0; i < 24; i++) {
>      }

Go does exactly this, and it is good.

Less is more.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to