Really neat language! Would adding support for Interpolated Strings be difficult?
Building strings can get wordy using the + operator (pun intended):
"The area of interest is bounded by " + p1.X + "," + p1.Y + " and " + p2.X + "," + p2.Y + "."
IMO, having the values inlined instead of at the end (like string.format) makes it easier to read.
Possible suggested styles:
C#6
$"The area of interest is bounded by {p1.X}, {p1.Y} and {p2.X}, {p2.Y}"
Javascript
'The area of interest is bounded by ${p1.X}, ${p1.Y} and ${p2.X}, ${p2.Y}'
Swift
'The area of interest is bounded by \(p1.X), \(p1.Y) and \(p2.X), \(p2.Y)'
Really neat language! Would adding support for Interpolated Strings be difficult?
Building strings can get wordy using the + operator (pun intended):
"The area of interest is bounded by " + p1.X + "," + p1.Y + " and " + p2.X + "," + p2.Y + "."IMO, having the values inlined instead of at the end (like string.format) makes it easier to read.
Possible suggested styles:
C#6
$"The area of interest is bounded by {p1.X}, {p1.Y} and {p2.X}, {p2.Y}"Javascript
'The area of interest is bounded by ${p1.X}, ${p1.Y} and ${p2.X}, ${p2.Y}'Swift
'The area of interest is bounded by \(p1.X), \(p1.Y) and \(p2.X), \(p2.Y)'