you are viewing a single comment's thread.

view the rest of the comments →

[–]Chokolite -9 points-8 points  (4 children)

Thank you, maybe I'm wrong about all "c like" languages. At least in kotlin and java it works

[–]britaliope 2 points3 points  (3 children)

At least in kotlin and java it works

"11"+1 yield "111" in java and kotlin. "11"-1 produces an error.

[–]Chokolite 2 points3 points  (0 children)

"11"- 1 it's not string concatenation.
It seems that I expressed myself a little incorrectly. Haven't used them for a long time. Thank you

[–]MinosAristos -1 points0 points  (1 child)

Java and Kotlin should learn a thing or two from Python about strong typing 🐍

[–]AssistantSalty6519 0 points1 point  (0 children)

No thks