4 ms·
> Why do you think BASIC is not functional? Because BASIC simply doesn't have first-class functions, and they would be quite hard to represent in a BASIC-like
by zozbot234 1y ago
> Why do you think BASIC is not functional?
Because BASIC simply doesn't have first-class functions, and they would be quite hard to represent in a BASIC-like syntax while keeping the language idiomatic. Even the unreasonably clunky C pattern of having a pointer to a function taking void* as its first argument (to account for closure captures) gets you a whole lot closer to functional programming than even the fanciest BASICs.
- ModernMech 1y agoHere, "functional" is being used to mean "ablity to function", not "relating to the functional programming paradigm".