2 ms·
Soo..We said never look for something better than Java? Or OOP? What if FP gives us all the important things that OOP does and more? Why wouldn't we use it? Pe
by jaegerpicker 10y ago
Soo..We said never look for something better than Java? Or OOP? What if FP gives us all the important things that OOP does and more? Why wouldn't we use it?
Personally I want to learn from and use a language that supports as many of the paradigms as possible, like Scala or Swift. Let me choose based on what I need. That being said I'd much rather work in pure FP then OOP because of the fact that most of the advantages of OOP can be achieved via FP and the inverse is not true.
- Shorel 10y agoOr C++. Templates or generic programming can be argued to be another paradigm, and quite powerful as well. D supports that as well, along with purity checking for FP.