by izolate · 2y ago · 0 comments
Judging by the praise, I'm probably in the minority, but as a code reviewer, I’d much rather see straightforward loops, channels, and Go's native constructs over something like Rill.
I've never paid my bills with Go, but `Map` and `ForEach` don't seem all that different than `for _, u := range Users` to me. Yes, the former is "functional" but only mildly.
But your point about the lack of contexts is definitely a deal breaker for me personally too.
sync.Map is a concurrency-safe hash map. Same name, totally different thing.