Hacker News new | ask | show | jobs
by crdoconnor 3593 days ago

   Main.java:17: error: incompatible types: String cannot be converted to int
    int z = x + y;
>btw, Python: '1' * 3 -> '111'

In theory I agree with this but in practise I see this so rarely used it barely matters.

1 comments

Sorry, I meant "11" (String), same result as with JS.

see here: https://repl.it/Cqeq/0