News for hackers. Stuff that matters.
Re:First Preview of Android N: Developer APIs and Tools by lukasb on Wednesday March 09, 2016 @04:45PM (#11255953)
disclaimer: I work on Android dev tools

It depends. For example, let's compare providing an event listener via a lambda vs an anonymous inner class. Using the lambda will increase your method count by 1. However, if you're accessing class member variables, it will reduce the method count for each variable you use, because it's added as a method of the containing class and doesn't need to generate accessors.

There are no comments on this comment yet.