On Mar 24, 11:02 am, Robin <
robi...@gmail.com> wrote:
> That's true people could make unreadable code.
>
> What about Python's """? It could solve the quoting problem and still
> be very readable.
>
That's one alternative I'm considering.
> What about string templates and expansions?
>
> Like Ruby's: "this is a #{template} string"
>
> Would something like this be possible?: `"this is a ~template string"
>
> toString() would be called on template returning a String.
String interpolation has also been proposed - I think any system must
be delimited, like the Ruby example, else the interpolated string must
be followed by a space.
Rich