Hacker News new | ask | show | jobs
by vbcr 3242 days ago
and easily mitigated by the right use of parentheses.

System.out.println((1 + 2) + " = " + (1 + 2));

1 comments

Right but where is fun in that?? Lol. By the way, I think I should add this part on the post to show the fix, especially for the newcomers in Java world.