Dioxin 29 Share Posted December 16, 2015 They aren't. They do not generate any new class files, which is a huge clue that they're not just syntactic sugar (and why they're preferred). Check the bytecode, it's completely different. Just thought I'd let it be known. I've seen a few places where people have questioned why lambdas were such a big deal, and how lambdas are nothing more than a less-verbose way to declare an anonymous class that contains a function. If you do not know what lambdas are, I highly suggest looking into them. Link to comment Share on other sites More sharing options...
infallible 28 Share Posted December 16, 2015 ()->? Link to comment Share on other sites More sharing options...
Dioxin 29 Author Share Posted December 16, 2015 ()->?Yup, those are lambdas Link to comment Share on other sites More sharing options...
infallible 28 Share Posted December 16, 2015 Use em all the time Link to comment Share on other sites More sharing options...
Dogerina 330 Share Posted December 16, 2015 u spelled yolo wrong Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.