Re:Golang landmines
by pcwalton on Sunday September 18, 2016 @01:58AM
(#12524130)
Go's problem here stems from the fact that it relies on C-style for loops for this kind of thing instead of iterators. With iterators you can define the language semantics to provide a fresh location on every iteration. It's yet another point against C-style for loops...
[ Parent
| on HN ]
There are no comments on this comment yet.