top | item 43750262

(no title)

burky | 10 months ago

f-strings won’t sanitize the value, so it’s not safe. The article talks about this.

discuss

order

Tenoke|10 months ago

The article talked about it but the example here just assumes they'll be there.

sanderjd|10 months ago

What do you mean by "they"? You mean the template interpolation functions?

Yes, the idea is that by having this in the language, library authors will write these implementations for use cases where they are appropriate.

masklinn|10 months ago

Because t-strings don't create strings, so if the library doesn't support t-strings the call can just error.