Lambda expressions in Java 8, because I love functional programming.

  • 0
    My coworkers bitch at me whenever I use lambda expressions in our Java 8 projects. They say it's not as readable. While it might not be immediately readable, imho it's your job as a developer to maintain current language knowledge and adapt to others code ( as long as it's not blatantly horrid )
  • 0
    It makes some complex stuff easy but some easy stuff complex. You just have to decide when to use it.

    I once saw that:

    return value == null? () - > node - > provider - > null: value ;

    Took me some time to understand why those variables were not defined anywhere.
Add Comment