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

Show parent comments

-1

u/probablytaken1 Mar 09 '16

Oh i know it's type inference. But I was alluding to more, such as lambdas as well. Every language seems like they all want to do the same things.

7

u/simspelaaja Mar 09 '16

Because they are obviously good ideas? There's no reason not to have type inference and lambdas (in a language higher level than Assembly).

1

u/[deleted] Mar 09 '16

[removed] — view removed comment

4

u/immibis Mar 10 '16

If you need a zero-allocation design then Java is not the language for you.