3 ms·
Java lambdas are no different than an anonymous Runnable or Callable. It's just nicer syntax.
by tootie 11y ago
Java lambdas are no different than an anonymous Runnable or Callable. It's just nicer syntax.
- michaelcampbell 11y ago> It's just nicer syntax. Which is mostly the point. Ultimately, everything is no different from <some lower tech thing doing the same thing>.
- V-2 11y agoExactly. Everything is just syntax sugar over 0s and 1s :)
- oldmanjay 11y agothey 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.