News for hackers. Stuff that matters.
Re:In Java 3 = 12 by partycoder on Wednesday November 15, 2017 @02:30AM (#15702070)
Things to consider here are:

- operator precedence

- implicit type casting

- how operator+ is defined per each type (e.g: numbers add, strings concatenate)

Re:In Java 3 = 12 by Seol on Wednesday November 15, 2017 @02:50AM (#15702147)
The interesting thing is that the "obvious correct" behaviour would require the precedence of the + operator to depend on the types of the operands - which is obviously impossible if it's done at the parse stage...