3 ms·
Not all functional languages are purely functional. (Common) Lisp can be described as a functional language, but it can do loops like those just fine. A lot of
by kahrkunne 10y ago
Not all functional languages are purely functional. (Common) Lisp can be described as a functional language, but it can do loops like those just fine.
A lot of imperative languages don't even have map or reduce; some don't even have proper first-class functions. The same argument goes the other way too.