It may be useful to allow declaring variables without type

Binarydepth via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 10 10:04:19 PDT 2015


I think that it could be useful to declare variables as Python 
does and statically too in the same language. Just make it's type 
when a value is assigned to the variable. This could allow a 
program to adjust it's data types accordingly to input when data 
is received from another program or an user.

BD


More information about the Digitalmars-d mailing list