4 ms·
The modern fascination with "functional" is, in part, because we have redefined "functional" to apply to basically any language with first-class anonymous funct
by int_19h 6y ago
The modern fascination with "functional" is, in part, because we have redefined "functional" to apply to basically any language with first-class anonymous functions that are closures - witness all the talk about "functional JS" and how it's "almost like Lisp".
By that criteria, Smalltalk was one of the first industrial-strength functional languages. In fact, it's better than most, because its closures close over not just the variables, but also over the execution context (i.e. a closure can execute a non-local return from the function in which it was created).
- lispm 6y agoThough, early Smalltalk did not support lexical closures.