3 ms·
I think it’s kind of akin to the premature optimization people do when they think they have ‘big data’, but really don’t. If you’re really doing heavy list pro
by danenania 8y ago
I think it’s kind of akin to the premature optimization people do when they think they have ‘big data’, but really don’t.
If you’re really doing heavy list processing, transforming complex data structures, etc., then you’re probably going to miss map, reduce, and friends. But for most real world problems, the code is faster to write, faster to run, and easier to understand with a few dumb loops.
It’s always tempting to do things the clever way, but Go made me realize how rarely it’s actually beneficial.
- wolf550e 8y agoFor compilers and optimizers, people have said pattern matching support in the language is very beneficial. I bet there are other tasks where something like algebraic data types and pattern matching would make the code much simpler, and it's not really hard for the language to implement.