|
|
|
|
|
by em-bee
415 days ago
|
|
what can string interpolation do that i can't also do by sandwiching a variable between strings: 'string1'$var'string2'? string interpolation is useful where concatenating strings requires an operator, but i don't see the benefit otherwise. for more complex examples i can use printf, or someone could write a function that does string interpolation. since there is no need to fork, that should not be that expensive |
|