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

> There aren't even any plans to support lambdas and Java 8.

https://android-review.googlesource.com/#/c/150214/

Looks like there is someone at Google working on lambda support.



Maybe but this won't ship until at least M so if you min SDK is even as new as KitKat it won't help you much.

Kotlin gives you lambdas, named parameters, extension functions (like C#), data classes, first class null, and more today on all versions of Android.


I think that most of the Java 8 features will be implemented in Jack, the new compiler they are working on (which is likely why the current toolchain has not seen much improvements). Most of them shouldn't need bytecode level changes.

That said Kotlin looks awesome and I'll definitely be considering it for my next Android project.




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

Search: