In conclusion I think the APL string interpolation is better than the other languages, if you build simple helpers functions like f←{v←⍕¨⍵ ⋄ ∊⍉↑⍺ v}
take a look at the interpolated string for an APL vs the non APL solution you posted:
APL :'<path d="M ' ' C ' ', ' ', ' '" stroke="black" fill="transparent"/>'
~APL:'<path d="M {W} C {X}, {Y}, {Z}" stroke="black" fill="transparent"/>'
full APL expression: '<path d="M '' C '', '', ''" stroke="black" fill="transparent"/>'f W X Y Z
So the APL string you need to construct is actually shorter, AND you do not need to hard reference the variable …
take a look at the interpolated string for an APL vs the non APL solution you posted:
APL :'<path d="M ' ' C ' ', ' ', ' '" stroke="black" fill="transparent"/>'
~APL:'<path d="M {W} C {X}, {Y}, {Z}" stroke="black" fill="transparent"/>'
full APL expression: '<path d="M '' C '', '', ''" stroke="black" fill="transparent"/>'f W X Y Z
So the APL string you need to construct is actually shorter, AND you do not need to hard reference the variable …