by onlyrealcuzzo · 7y ago · 0 comments
When I hear "functional", I usually interpret it to mean languages influenced or derived from the ML family of languages. Notable features of these languages include algebraic data types, match expressions, emphasis on monadic operations (fold, scan, map, etc), support for TCO, and a expressive static type system (though unfortunately not necessarily supported higher kinds), and a discouragement of mutations.
Common Lisp doesn't really emphasize any of those things, and Scheme only a couple.
It's also usually untyped, and I think the hard to write bad functional code line is mostly true of statically typed pure functional code.