On Tuesday, 4 April 2017 at 02:43:26 UTC, evilrat wrote:
String interpolation would be nice too, it would really help with readability!

This really isn't in the spirit of D and is better left to library functions which give the user far more power and flexibility. Incorporating such a feature into the language raises many questions and concerns:

* It becomes a language feature thereby further bloating the language and runtime
* What if you want it to be @nogc?
* What if you want to combine it with allocators?
* What if you want to store the result in a particular buffer?
* What if you want the result to be lazily evaluated?
* What if you want an input range of chars? ... that is lazily evaluated?
* What if you want to format the arguments in a specific way?

Given the ease in which such a feature can be implemented and used as a library function, I don't see interpolated strings as being a necessary feature in D.

Reply via email to