Re:JDK 15
by CydeWeys on Tuesday September 15, 2020 @03:08PM
(#24485428)
The ones in Python work significantly differently though; they have inline code execution (rather than using a varargs list after the f-string itself).
[ Parent
| on HN ]
Re:JDK 15
by mixmastamyk on Tuesday September 15, 2020 @03:26PM
(#24485647)
So does shell script and several modern programming langs. The sky hasn't yet fallen.
The Bourne shell had parameter expansion in strings in 1979, just FYI.
I've just executed:
echo "$(ls)"
in my zsh, so I'm not sure what to say, to be honest.