Oddbean new post about | logout
 as good a time as any to learn how to implement set operations

in Go i do them with for/range iterations and maps (which require mutexes because of concurrency)...

to be honest, a lot of C++ and other OOP programmers (java, rust) overemphasise the use of map/reduce operations, which are essentially set operations, but in my experience i need maybe one or two in a whole application and often this allows very specific implementations