Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Lambda Expression vs Jython Lambda function  RSS feed

 
Gurumurthy Ramamurthy
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have worked on Lambda functions in Jython. It's a very cryptic code that achieves something which requires lengthier code.
When I had a first look at Java 8 Lambda expression, it is also very similar to Jython's lambda function.
I need to deep dive, I am at surface level.
But, is my understanding correct?
 
Junilu Lacar
Sheriff
Posts: 11152
160
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gurumurthy Ramamurthy wrote:But, is my understanding correct?
Not sure what you're asking. Understanding of what? That lambda expressions can be cryptic? Sure, they can be cryptic, especially if you're unfamiliar with them. Context is important in understanding what a lambda expression is doing so try to keep lambdas in surrounding code that gives proper context.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!