by ahoge · 11y ago · 0 comments
'x: $x, y: $y'
is a lot easier to type than: 'x: ' + x + ', y: ' + y
I actually had to triple check that line. Concatenation is very error-prone. I often mess it up.String interpolation is a fairly popular feature nowadays:
No comments yet.