String concat with Integer - implicit type conversion

What we could do is to deprecate that plus operation. It won’t break the existing code and will guide people to use string templates instead of concatenating strings with arbitrary objects.

Personally I don’t see much of use from that operation, given that Kotlin has string templates. When I see one in code, I tend to replace it with template as soon as IDE suggests me to do so.

4 Likes