3 ms·
I would be very happy to see some version of this accepted. When it comes to native String interpolation Groovy has it, Scala has it, ES6 has it apparently; to
by declnz 11y ago
I would be very happy to see some version of this accepted.
When it comes to native String interpolation Groovy has it, Scala has it, ES6 has it apparently; to a more limited extent Bash, PHP, Perl have it too of course.
I can't help feeling that other devs are now coming to Python expecting this kind of feature, and are disappointed to find three (harder, often less readable) ways to do it instead. Got to keep up with the Joneses, etc...
- svisser 11y agoIt doesn't mean this is a good feature to have - it allows objects within scope to now be directly included in a string, which isn't a secure thing to do.