General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Brent Jacobs
Continuous Delivery
comments
Comments by "Brent Jacobs" (@br3nto) on "Is Functional Programming DEAD Already?" video.
I’m still convinced a class describes one or more closures that close over the same variables. Therefore OOP is just an advanced form of FP.
2
8:34 we really don’t have good mainstream language support for parallelisable programming though. Plenty of things in theory could be parallelised… like the mapping and filter functions performed on collections. But there isn’t any pipe function in any language that I’ve used. Eg. Each method call in `myArr.filter(filterFn).map(someTransformation).groupBy(someGrouping)` returns a collection before the next method call. That can’t be parallelised. If we had pipes, then each method would get called one after the other for each individual element. That process can be parallelised. Effectively, the group y would be different from the rest, as it would likely need to operate on a collection of Tasks or Promises, and await the results before dumping into the final data structure.
1
@ ah good point! And the AsParallel() method to parallelise it. I didn’t realise that’s how linq worked.
1