3 ms·
"This is code I personally would love to maintain compared to what an imperative version could look like." I think this piece would have been much more compell
by king_magic 10y ago
"This is code I personally would love to maintain compared to what an imperative version could look like."
I think this piece would have been much more compelling if it didn't end with this line.
I personally would never want to maintain that code (in C++). I mean hey, look, I get it. Functional programming is awesome. But with all of the magic behind the scenes needed to make that work in C++, it just feels like an overly complicated, Rube Goldberg-esque solution to a relatively simple problem.