News for hackers. Stuff that matters.
Re:Is ‘var’ Coming to Java? by nunobrito on Thursday March 10, 2016 @05:45AM (#11258397)
Fully agree on common sense.

Unfortunately managers hire cheap coders, so it was kind of useful this natural obstacle to repel code ninjas, or at minimum demotivate them from writing cryptic code.

I'll tell you, even with static typing rules I've seen code where I just think: "why, oh why?". One time found a nested IF chain that was 15 levels deep with other IF statements.

In Javascript it is honestly so difficult to try figure out what they were expecting as output, because comments are never present on the code. If you write scala, that is good but there are reasons why Java caters a different type of projects and audience.

Re:Is ‘var’ Coming to Java? by jinst8gmi on Friday March 11, 2016 @06:00AM (#11265875)
> One time found a nested IF chain that was 15 levels deep with other IF statements.

Ouch, good luck...