4 ms·
C#, GoLang, Javascript, Python, and Ruby are several. Python and Ruby even overload *, for the dubiously useful construction: "hello" * 3 == "hellohellohello"
by rspeele 5y ago
C#, GoLang, Javascript, Python, and Ruby are several.
Python and Ruby even overload *, for the dubiously useful construction:
"hello" * 3 == "hellohellohello"
- infogulch 5y agoI like Julia's standard string concat which subverts a Python user's intuition: "string1" * "string2" == "string1string2". Why? Because monad.