9

Turns out that one can use the ‘var’ keyword to declare a variable in Java 10. Finally Java’s being more like JavaScript 😊

Comments
  • 7
    "wait. So we can finally say JavaScript or Java without knowing the difference? Awesome" - recruiter.

    And var in C# can duck off
  • 3
    @jespersh this, I really like C# it was my first language but the var thing icks me.

    @recursiveAndrew JS removed the use of var in ES6.
  • 2
    Wait until they add "let" too!
  • 0
    you could actually do this with lombok for quite a while..
  • 2
    "Finally Java’s being more like JavaScript" said no one ever.
  • 0
    @piehole This rant has. Consider yourself disproved.
Your Job Suck?
Get a Better Job
Add Comment