Re:Go is amazing, period.
by 4ad on Monday March 19, 2012 @09:03AM
(#3723696)
:= and = don't do what you probably think they do, the meaning is not the same as in Pascal. If you need to compare two variables, you use ==
= is the usual assignment, := declares and initializes a variable inferring the type.
vs.
That means you'll see explicit types in variable declarations rarely.
[ Parent
| on HN ]
There are no comments on this comment yet.