←back to thread

620 points tambourine_man | 3 comments | | HN request time: 0.214s | source
1. toxik ◴[] No.43749939[source]
So should f strings now go away? They are just a special case of t strings.

Also, don’t get me started on g strings.

replies(2): >>43750119 #>>43751209 #
2. perlgeek ◴[] No.43750119[source]
> So should f strings now go away?

No

> They are just a special case of t strings.

Not really, because they produce a string right away instead of a template.

3. nhumrich ◴[] No.43751209[source]
No. F-strings should still be the default. T-strings aren't usable directly, and don't have a `str` like API, so they aren't even compatible, intentionally.