by zendist · 4y ago · 0 comments
(Note that C# at least had the excuse of not having closures in the first version, which makes scoping of "foreach" moot - the problem only showed up in C# 2.0. But Go had lambdas from the get-go, so this interaction between loops and closures was always there.)
Still looking forward to the day they will discover Pascal enumerations.