4 ms·
That syntax for that purpose was totally stolen from Go. Nice to see the cross pollination going in both directions.
by judk 13y ago
That syntax for that purpose was totally stolen from Go. Nice to see the cross pollination going in both directions.
- BarkMore 13y agoGo's := (short variable declaration) is closer to Erlang's => (introduce a new key) then it is to Erlang's := (update an existing key).
- snogglethorpe 13y ago... and in that sense, Erlang is following existing practice better than Go did — := is "traditionally" an assignment operator, not a binding operator.
- deleted 13y ago[deleted]