Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-03-2012, 10:57 AM   PM User | #1
Clydebrown
New to the CF scene

 
Join Date: Aug 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Clydebrown is an unknown quantity at this point
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.
Clydebrown is offline   Reply With Quote
Old 10-03-2012, 05:58 PM   PM User | #2
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,645
Thanks: 4
Thanked 2,449 Times in 2,418 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
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.
Fou-Lu is offline   Reply With Quote
Old 10-04-2012, 07:40 AM   PM User | #3
Clydebrown
New to the CF scene

 
Join Date: Aug 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Clydebrown is an unknown quantity at this point
Thanks Fou-Lu
Clydebrown is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:38 AM.


Advertisement
Log in to turn off these ads.