←back to thread

620 points tambourine_man | 1 comments | | HN request time: 0.263s | source
Show context
enescakir ◴[] No.43749266[source]
Not sure about introducing yet another string prefix. Between f-strings, raw strings, and i18n stuff, it’s already getting crowded. Curious how readable this will be in large codebases.
replies(3): >>43749334 #>>43749489 #>>43749515 #
albert_e ◴[] No.43749515[source]
"Yet another" is not my main worry

The concept of prefixes itself feels a little deviant from readable code that is close to human language -- which is the spirit of Python

replies(3): >>43749659 #>>43749755 #>>43749968 #
1. toxik ◴[] No.43749968[source]
Should have been a keyword.

    a = template "foo {bar}"
As should raw and format.