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

C#'s had closures and anonymous functions for almost a decade, Java's got them properly now with Java 8, but you could always hack them with anonymous inner classes. C++ got them in C++11, etc. Hell, even in C, you could hack something resembling a closure with a struct and a function pointer.


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

Search: