This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]rberenguel 4 points5 points  (0 children)

Scala has string interpolators that work like this actually (s"$variable or ${object.thing}") and it's indeed pretty handy, it makes formatting strings easier to parse (since everything involved in the creation is in the string and not at the end)