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

Lambdas/first class functions were already there in Turbo Pascal 5.0, via procedure types.

Coupled with nested subroutines, there was already a couple of things possible.



Functions could be parameters in Pascal, but not return values. This allowed closures (mostly) without a garbage collector.

C and its descendants was such a step backwards.




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

Search: