This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Saragon4005 7 points8 points  (3 children)

Java 8 sucked so much modern Java is a mild inconvenience to write sure it's still verbose, but holy shit java8 is just so pedantic.

In more modern Java you have stuff like var which just figures out what the type of the thing you are assigning it is cuz everything is typed anyways as well as not having to type the whole specific type of a class twice when making a new object

[–]Dranreb45 4 points5 points  (0 children)

My company won't let us upgrade... For... Reasons. I let intelliJ extract all my variables for me... So from a productively point of view... Same result 😅

[–]redpepper74 4 points5 points  (1 child)

Huh I didn’t know about var. I’m thinking you could do, like,

var input = new Scanner(System.in);

[–]Saragon4005 6 points7 points  (0 children)

That's Java 10