Hacker News new | past | comments | ask | show | jobs | submit login

Its an interface with only method. I suspect that most of us would just us a lambda now.



I'll never quite understand why it wasn't simply a function in the first place.


Java pre-8 only had anonymous classes, there were no lambdas


And Java lambdas are still syntax sugar for one-method anonymous classes.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: