Re:Ark – A modern systems programming language
by michaelmior on Thursday June 25, 2015 @04:43PM
(#9780791)
:= isn't really stating to infer the type (although this happens) but a way to differentiate variable initialization with assignment. When using := the variable is created while = is just a regular assignment. Having these as separate operators prevents errors like this:
The second line is invalid because fooo does not exist.
[ Parent
| on HN ]
There are no comments on this comment yet.