Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Aug 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    What are Lambda Expressions in Java 8?

    Hello guys,

    I recently heard a term Lambda Expression and donít know what it actually is? Would appreciate information on the same.

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,979
    Thanks
    4
    Thanked 2,659 Times in 2,628 Posts
    Lambda would be an assignable closure to a variable itself. Languages like PHP have allowed actual closures since about 5.2, and had create_function prior.
    Here's a link for a quick breakdown of what we'll see in Java 8 (possibly): http://www.geekyarticles.com/2012/01...ct-lambda.html

    Overall, I don't know why they would bother tbh. Methods can be retrieved by Reflection, so that's typically what I'd do anyway.

  • #3
    New to the CF scene
    Join Date
    Aug 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks Fou-Lu


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •