News for hackers. Stuff that matters.
Re:Fixing for Loops in Go 1.22 by za3faran on Thursday September 21, 2023 @12:50PM (#37600375)
First time I hear that list comprehension is a dangerous tool. The way python implements it is awkward I'll give you that, but there is a lot of success in how Java and C# implement it for example. golang just chose the easy and overly verbose way out, it's a theme they have that is visible in the rest of the language.

There are no comments on this comment yet.