Path: csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Roedy Green Newsgroups: comp.lang.java.programmer Subject: Re: Java 8 closures vs. anonymous inner classes Date: Fri, 06 Dec 2013 13:28:45 -0800 Organization: Canadian Mind Products Lines: 15 Message-ID: References: Reply-To: Roedy Green NNTP-Posting-Host: K2Qzzs3EAqXk5RLzfhxcSw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: ForteAgent/7.20.32.1218 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:26755 On Wed, 04 Dec 2013 20:07:42 +0100, Sebastian wrote, quoted or indirectly quoted someone who said : >This is quite a bit more than what I'd call "syntactic sugar". What that means is, if you looked a the JVM byte codes generated, it would look identical to some code written using anonymous inner classes. see http://mindprod.com/jgloss/syntacticsugar.html -- Roedy Green Canadian Mind Products http://mindprod.com Unlike many machines, computers require no water once they are manufactured.