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

I wasn't even aware of that proposal, just found these examples[1] and love the idea.

Sort of in the same vein as static imports (as far as usability) but has a really nice added side effect of exporting a default impl from an interface that can be overridden.

Thanks!

[1] http://www.baptiste-wicht.com/2010/05/java-7-add-public-defe...



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

Search: