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?
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.
Practice only makes habit, only perfect practice makes perfect.
Practice mindfully by doing the right things and doing things right.— Junilu