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

"A closure is an object that supports exactly one method: 'apply'."

-- Guy Steele



Too bad it took the Java language committee forever to figure out they can just use lambda syntax to make those objects look like functions.


When you have too many cooks and care about keeping backwards compatibility, things take time.


In some languages they also have methods like 'curry', which further blurs the lines.




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

Search: