Re:The Anti-Human Consequences of Static Typing
by Someone on Monday August 12, 2013 @04:33PM
(#6201633)
Does it? I thought string + number does that, but number + string does not compile.
Re:The Anti-Human Consequences of Static Typing
by jeapostrophe on Monday August 12, 2013 @04:32PM
(#6201613)
That's not a counter-example. I'm not saying that Java doesn't allow syntax that might look like "number + string", just that it does not actually add them, like C does where: 3 + "4" means something very surprising.
Poor example. In Java, number + string means "convert the number to a decimal string then concatenate", and it can be invoked unintentionally.