2 ms·
In FP everything is an argument anyway, but in OO land .. you always have to come up with a new concept to overcome the many limits. That said, I think Scala d
by agumonkey 5y ago
In FP everything is an argument anyway, but in OO land .. you always have to come up with a new concept to overcome the many limits.
That said, I think Scala did that, separating module/package level parameters and functional parameters can help designing/thinking.
my 2 cents
- eru 5y agoIn FP, we still come up with lots of new concepts. Especially when it comes to statically typing these 'just an argument anyway' constructs. But yeah, you probably get something like 80% of the benefit of modern functional programming from just first-class functions, algebraic data types (and pattern matching over them), and immutability by default.