3 ms·
This seems to be kinda missing the point. Yes, you can do functional programming in almost anything that supports recursion and function indirection. But the
by ajross 17y ago
This seems to be kinda missing the point. Yes, you can do functional programming in almost anything that supports recursion and function indirection. But the essence of functional programming is not simply using a function pointer for everything. Those "if and switch statements" are perfectly functional concepts. It's the avoidance of side effects that generally distinguishes "functional" idioms from imperative ones.