Venkat, great book. I’ve skimmed the whole thing and now am going into more depth. As of yet, I haven’t seen any example of a nested function shown as an alternative to a private method. As you know from Scala, this makes code more readable since we don’t have to try and figure out who is using the private method as the nested function is local within a method.
Is it not a good idea in Java 8 to create a lambda expression inside a method and invoke it therein instead of having the logic in the lambda pulled out to a private method?