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

Lua does not do the currying bit, but it does a lot less OOP and a lot more "dictionaries with stuff that can do something like prototype OOP if you squint hard enough". Java and whatnot just don't let you really use methods as first class citizens, so it doesn't matter.


IIRC under the hood Java will 'evaluate' the methods body as a sophisticated function with 'this' in its environment.




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

Search: