Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #26934

Re: Java 8 closures vs. anonymous inner classes

From Arved Sandstrom <asandstrom2@eastlink.ca>
Newsgroups comp.lang.java.programmer
Subject Re: Java 8 closures vs. anonymous inner classes
References <l7nuiv$ajm$1@news.albasani.net> <5yTqu.2639$oo4.861@fx02.iad> <52acd504$0$302$14726298@news.sunsite.dk>
Message-ID <g4nru.546685$nC5.145367@fx06.iad> (permalink)
Organization Public Usenet Newsgroup Access
Date 2013-12-15 15:05 -0400

Show all headers | View raw


On 12/14/2013 06:00 PM, Arne Vajhøj wrote:
> On 12/14/2013 2:13 AM, Arved Sandstrom wrote:
>> On 12/04/2013 03:07 PM, Sebastian wrote:
>>> 3) lambdas perform better due to the use of the invokedynamic JVM
>>> instruction. Type representation, instance creation, and invocation
>>> strategy are decided at runtime. This offers optimization potentials,
>>> because evaluating a lambda expression need not create a new instance
>>> each time. There could be „shared lambdas“ through use of a constant
>>> static method in a constant pool, needing no new class and/or new
>>> object.
>>
>> To put it bluntly, who cares? The last time I ran into a speed
>> bottleneck with any language was over a decade ago.
>
>>                                        and they won't even understand
>> what the hell you are talking about wrt your third point: most
>> developers work M-F 9-5 and don't have the time nor the inclination to
>> get particularly good at their profession.
>
> This sounds a bit contradictory to me.
>
> Arne
>
No aspersion on the M-F 9-5 programmers, Arne. But by definition M-F 9-5 
programmers have made a decision - not something I will heavily 
criticize - to confine their work to work hours, and keep their free 
time for family and leisure. As such they don't spend nearly as much 
time on off-hours professional education (if any), and we all know that 
work hours don't lend themselves to professional education either.

So my point really had to do with the fact that we often don't learn 
much new stuff on the job. Most of my career - for my M-F 9-5 
engagements - I've had to work on stuff that's well behind the power 
curve, because that's what clients use. I've yet to run across a client 
in my region that was willing to use JVM languages other than Java, and 
I expect I'll have the luxury of using Java 8 extensively maybe in the 
year 2016.

Let's also not forget, who has the time to focus just on Java or its 
ecosystem? I don't, and I spend way too much of my free time on software 
development. Only speaking for myself, but I also have to keep track of 
what's happening with other languages, and libraries, and tools, and I 
seriously don't have the luxury of examining the intricacies of Java 
bytecode. I doubt that M-F 9-5 coders do.

AHS
-- 
When a true genius appears, you can know him by this sign:
that all the dunces are in a confederacy against him.
-- Jonathan Swift

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Java 8 closures vs. anonymous inner classes Sebastian <news@seyweiler.dyndns.org> - 2013-12-04 20:07 +0100
  Re: Java 8 closures vs. anonymous inner classes Sven Köhler <remove-sven.koehler@gmail.com> - 2013-12-04 22:27 +0200
    Re: Java 8 closures vs. anonymous inner classes Patrick Roemer <sangamon@netcologne.de> - 2013-12-05 00:38 +0100
    Re: Java 8 closures vs. anonymous inner classes v_borchert@despammed.com (Volker Borchert) - 2013-12-04 23:45 +0000
  Re: Java 8 closures vs. anonymous inner classes Roedy Green <see_website@mindprod.com.invalid> - 2013-12-06 13:28 -0800
    Re: Java 8 closures vs. anonymous inner classes Arne Vajhøj <arne@vajhoej.dk> - 2013-12-14 16:46 -0500
  Re: Java 8 closures vs. anonymous inner classes Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-12-14 03:13 -0400
    Re: Java 8 closures vs. anonymous inner classes "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2013-12-14 12:03 +0000
      Re: Java 8 closures vs. anonymous inner classes Arne Vajhøj <arne@vajhoej.dk> - 2013-12-14 17:02 -0500
        Re: Java 8 closures vs. anonymous inner classes Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-12-15 14:33 -0400
    Re: Java 8 closures vs. anonymous inner classes Arne Vajhøj <arne@vajhoej.dk> - 2013-12-14 17:00 -0500
      Re: Java 8 closures vs. anonymous inner classes Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-12-15 15:05 -0400
        Re: Java 8 closures vs. anonymous inner classes Wanja Gayk <brixomatic@yahoo.com> - 2013-12-17 20:09 +0100
          Re: Java 8 closures vs. anonymous inner classes Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-12-20 22:28 -0400
            Re: Java 8 closures vs. anonymous inner classes lipska the kat <"lipskathekat at yahoo dot co dot uk"> - 2013-12-21 11:54 +0000
              Re: Java 8 closures vs. anonymous inner classes Joerg Meier <joergmmeier@arcor.de> - 2013-12-21 18:27 +0100
                Re: Java 8 closures vs. anonymous inner classes lipska the kat <"lipskathekat at yahoo dot co dot uk"> - 2013-12-21 18:23 +0000
                Re: Java 8 closures vs. anonymous inner classes Tim Slattery <tim@risingdove.com> - 2013-12-21 14:56 -0500
                Re: Java 8 closures vs. anonymous inner classes lipska the kat <"lipskathekat at yahoo dot co dot uk"> - 2013-12-21 20:10 +0000
                Re: Java 8 closures vs. anonymous inner classes lipska the kat <"lipskathekat at yahoo dot co dot uk"> - 2013-12-21 21:18 +0000
              Re: Java 8 closures vs. anonymous inner classes Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-12-21 14:52 -0400
                Re: Java 8 closures vs. anonymous inner classes lipska the kat <"lipskathekat at yahoo dot co dot uk"> - 2013-12-21 19:35 +0000
                Re: Java 8 closures vs. anonymous inner classes Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-12-21 19:34 -0400
                Re: Java 8 closures vs. anonymous inner classes leif.roar@invalid.com (Leif Roar Moldskred) - 2013-12-22 05:02 -0600
                Re: Java 8 closures vs. anonymous inner classes lipska the kat <"lipskathekat at yahoo dot co dot uk"> - 2013-12-22 11:12 +0000
                Re: Java 8 closures vs. anonymous inner classes Wanja Gayk <brixomatic@yahoo.com> - 2013-12-22 21:24 +0100

csiph-web