DEV Community

Discussion on: When to choose purely functional programming?

Collapse
 
iquardt profile image
Iven Marquardt • Edited

You're asking the right questions. It totally depends on your team and the lines of code. In my personal experience, if everybody has a solid FP background and the expected code size justifies the additional effort the paradigm causes in JS/PY, it is totally worth it.

Here are some background info on the aspects you mentioned (I am the author):

Trading Stack for Heap with Trampolines
Immutability in Languages w/o Purely Functional Data Types