Why is there no string interpolation in Scala?

Posted by Alex R on Stack Overflow See other posts from Stack Overflow or by Alex R
Published on 2010-03-20T01:05:18Z Indexed on 2010/03/20 1:11 UTC
Read the original article Hit count: 266

This is not just an idle quip... I wonder if anybody knows if there's an actual design reason why Scala does not support interpolation similar to Groovy and other "syntactically better Javas"?

e.g.

var str1 = "World";
var str2 = "Hello, ${str1}";

© Stack Overflow or respective owner

Related posts about scala

Related posts about language-design