The stately := operator feature proposal

Ali Çehreli acehreli at yahoo.com
Wed May 29 22:41:59 PDT 2013


On 05/29/2013 05:19 PM, MrzlganeE wrote:

 > 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;
 > }

I like it.

Ali



More information about the Digitalmars-d mailing list