Elegant for who?
Adding a new syntax that doesn't exist in any language.
vs.
Using sensible default parameters.
-----------------
An argument for why my suggestion would be bad: https://www.python.org/dev/peps/pep-0498/#no-use-of-globals-...
Adding a new syntax that doesn't exist in any language.
vs.
Using sensible default parameters.
-----------------
An argument for why my suggestion would be bad: https://www.python.org/dev/peps/pep-0498/#no-use-of-globals-...
Not true, look into the new interpolation features in C#, Scala, JS, Swift, nim, etc.
Please, even JavaScript (ES6) got itself something similar; implicit string interpolation is not that rare.