4 ms·
"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 spi
by albert_e 1y ago
"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
- Timwi 1y agoThe single letter f or t does make it unnatural to read, but if it were sql"..." or html"...", I think that would help with that.
- matusp 1y agoAdditionally, it will probably be confusing that it is called a t-string but it is actually a constructor for a Template object and not string at all. I would rather see a new special term `template` than this.
- toxik 1y agoShould have been a keyword. a = template "foo {bar}" As should raw and format.