4 ms·
What sort of tasks would make such a drastic reduction possible? Genuinely curious, having never written c++.
by minikomi 15y ago
What sort of tasks would make such a drastic reduction possible? Genuinely curious, having never written c++.
- fleitz 15y agoHigher-order functions. It's like the difference between calculus and arithmetic. If you're adding numbers together you're not going to see much difference. If you try to send a man to the moon... it's going to be a lot less code in a higher level language.
- watmough 15y agoImagine merging thousands or millions of records into disparate timelines by various attributes, merging similar records, or overwriting, changing lengths... This is the sort of stuff that filter/map/reduce is really really good at, but also, it can be important code that people will pay you a lot of money to write over a longer period of time....