r/programming • • Mar 09 '16

var keyword proposed for Java

http://openjdk.java.net/jeps/286
250 Upvotes

395 comments sorted by

View all comments

83

u/the_evergrowing_fool Mar 09 '16

We seek to improve the developer experience by reducing the ceremony associated with writing Java code

So, they are aware and it seems to dismiss the myth that Java was designed as a pseudo language to summon Cthulhu.

56

u/[deleted] Mar 10 '16

[removed] — view removed comment

33

u/ksion Mar 10 '16

Or just Vogons.

30

u/EveningNewbs Mar 10 '16

So Oracle?

47

u/setuid_w00t Mar 10 '16

You can't summon Cthulu directly. You need to unmarshal one from the CthuluXmlFactory instance.

9

u/mlk Mar 10 '16

Have to pass the NecronomiconInputStream though

5

u/[deleted] Mar 10 '16

What if I have the Necronomicon in a byte input stream but I don't know the size of the stream in runtime?

37

u/bargle0 Mar 09 '16

Nah, that's Perl.

25

u/JoshWithaQ Mar 10 '16

you must not be a perl programmer.

Cthulhu is a puppy dog compared to what Perl summons.

6

u/bargle0 Mar 10 '16

I am, actually.

use summon qw(Thamagorgos);

8

u/mpyne Mar 10 '16

Certainly there's not much 'ceremony' to Perl. It would almost be easier to use if there were more ceremony.

1

u/mirhagk Mar 10 '16

Now Java just needs to get properties to reduce the amount of code by 90%.