minus-squarembtrhcs@feddit.orgtoProgrammer Humor@lemmy.ml•Real Programmers Implement Functions On Top Of Classeslinkfedilinkarrow-up14·8 days agoThat’s not quite right. In bytecode, lambdas are significantly more efficient than anonymous class instances. So while the lambda implementation is semantically equivalent, characterizing it like you have is reductive and a bit misleading. linkfedilink
That’s not quite right. In bytecode, lambdas are significantly more efficient than anonymous class instances. So while the lambda implementation is semantically equivalent, characterizing it like you have is reductive and a bit misleading.