3 ms·
Well that at least gives me a good idea of why `:=` cropped up in Go. Having never studied anything older than C, it caught me by surprise.
by AdmiralAsshat 9y ago
Well that at least gives me a good idea of why `:=` cropped up in Go. Having never studied anything older than C, it caught me by surprise.
- taborj 9y agoAlso used in Pascal for the same purpose.
- emodendroket 9y agoAlso Visual Basic.
- jwilk 9y agoNo? VB uses = for assigment, just like other Basics.
- emodendroket 9y agoIt uses := for named arguments.