Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
xios16488yLambdas are nice and you really don't have to use them anyway. They are just a convince that makes life easier once you get that little arrow <3
-
Wait, WHAT?! you're *complaining* about lambdas?!
Complaining about not having to write helper classes for every fucking thing?! Complaining about the better code localization achieved?! Complaining about the ENDLESS FUCKING JOYFUL BLISS that is CLOSURES OVER LOCAL VARIABLES?!
You take that back sir, you take that back at once. -
Do you mean you prefer
new Runnable() { @Override public void run() { doIt() }}
Instead of
() -> doIt()
? -
@ashokramcse They're fairly simple, within an hour you'll know more than enough about them to love them :D I really suggest taking a bit of time to dig in.
-
bb6xt3258yLambdas are actually quite nice, especially in languages where they make sense (eg. Python, Haskell, and yes! ES6+)
-
rmahey5988yLambdas are awesome, can pass around very small pieces that manipulate variables as if they are variables but they are instead references to a lambda function in languages such as ruby.
Related Rants
Lamda Expression...
undefined
wk30
java8