4 ms·
Are there any software projects of substantial scale that are purely FP? Even things like I/O or dynamic memory allocation have side effects. So while FP has s
by torstenvl 5y ago
Are there any software projects of substantial scale that are purely FP?
Even things like I/O or dynamic memory allocation have side effects. So while FP has some great ideas implemented at scale (first class functions and MapReduce perhaps the most well-known), they don't seem very useful by themselves.
EDIT: I'm not objecting to the idea "functions should return information," I'm objecting to the idea that side effects are "not a great idea."
- zabzonk 5y agoYou generally want to test if an "I/O or dynamic memory allocation" worked. BTW, I am basically a C++ programmer, not some functional maniac. But whenever I see a void return type, I think something is wrong.