Right now, there’s no support other than constructing a string builder, which is quite verbose in mako. Since string concatenation is such a common operation, having a non-StringBuilder based api would be a significant quality of life win.
Observation: this doesn’t intrinsically require language support—static methods could emit string builder calls with opportunity to later refactor the underlying code to emit invokedynamic instructions the way javac does.
Right now, there’s no support other than constructing a string builder, which is quite verbose in mako. Since string concatenation is such a common operation, having a non-StringBuilder based api would be a significant quality of life win.
Observation: this doesn’t intrinsically require language support—static methods could emit string builder calls with opportunity to later refactor the underlying code to emit invokedynamic instructions the way javac does.