Print Statement Syntax
Closed this issue · 1 comments
kshiga commented
How are we formatting the print statements that contain both strings and variable references? In the sample code, that is, the 99 bottles script, I left it as:
p: "%d bottle%s of beer on the wall,\n", bottles-left, plural;
Is this optimal or are we looking for something more like:
p: bottles-left + " bottle" + plural + " of beer on the wall \n"
What do we like better? If we choose the bottom, is this a reflection on how we do string concatenation?
jazzyfresh commented
no string interpolation for now. Just javascript-style string concatenation with pluses