Re:Reflections on 10k Hours of Programming
by ajuc on Friday August 06, 2021 @12:53PM
(#28089815)
Lambda isn't syntactic sugar, it's a language feature.
In Java it's kind of a syntactic sugar (lambda is a shortcut for an anonymous class with 1 method) because of historic reasons, but I'd prefer if it wasn't the case TBH.
In Java it's kind of a syntactic sugar (lambda is a shortcut for an anonymous class with 1 method) because of historic reasons, but I'd prefer if it wasn't the case TBH.
It was always a dirty hack.