/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Python’s new t-strings
(davepeck.org)
620 points
tambourine_man
| 1 comments |
21 Apr 25 04:31 UTC
|
HN request time: 0.537s
|
source
Show context
sashank_1509
◴[
21 Apr 25 09:11 UTC
]
No.
43749826
[source]
▶
>>43748512 (OP)
#
Why does this need to be a language feature. This could just be a separate library, we could use brackets instead of a letter before a string. I fear, Python is going down the path of C++
replies(7):
>>43749868
#
>>43749921
#
>>43749980
#
>>43750107
#
>>43750832
#
>>43751165
#
>>43751480
#
1.
dsego
◴[
21 Apr 25 09:29 UTC
]
No.
43749921
[source]
▶
>>43749826
#
Because JS has it in the form of tagged template literals.
ID:
GO
↑