Re:Modern Java – A Guide to Java 8
by tootie on Monday November 16, 2015 @09:47AM
(#10574675)
Java lambdas are no different than an anonymous Runnable or Callable. It's just nicer syntax.
[ Parent
| on HN ]
Re:Modern Java – A Guide to Java 8
by michaelcampbell on Monday November 16, 2015 @10:09AM
(#10574804)
> It's just nicer syntax.
Which is mostly the point. Ultimately, everything is no different from <some lower tech thing doing the same thing>.
Exactly. Everything is just syntax sugar over 0s and 1s :)
they are implemented in a different way, using dynamic invocation. the practical implications of the implementation don't come up too often but they are there, so it's probably good to understand.