Re:Three Minor Features in Go 1.18
by ryanar on Wednesday December 22, 2021 @10:49PM
(#29658456)
Agreed. Doing Advent of Code in Go and it is so verbose to do simple things like filtering. I agree that for loops can be easier to read, but when it takes 4 LOC to express what a 1 LOC filter function can do and you have 3+ maps or filters you need to do it seems far less readable because it is so noisy. Sure you can understand it, but it is a mess and takes too long to parse for the importance it actually has.
[ Parent
| on HN ]