Re:Functional programming in C++
by king_magic on Monday September 26, 2016 @11:02AM
(#12582375)
"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.
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.