Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



Here, "functional" is being used to mean "ablity to function", not "relating to the functional programming paradigm".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: