Overloading the string template operator

Is there a reason you don’t want to override toString() method on your data class ?

If you’re searching for String templates à la scala, there’s a discussion going on here.

4 Likes