Re:JDK 15
by oblio on Tuesday September 15, 2020 @02:58PM
(#24485288)
Conservative? We've had "f-strings" since 1979, at least.
[ Parent
| on HN ]
The ones in Python work significantly differently though; they have inline code execution (rather than using a varargs list after the f-string itself).
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.