Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
conartist6
3 months ago
|
parent
|
context
|
favorite
| on:
Python’s new t-strings
JS references the language at the usage site,
exactly
like Python. There is no difference here in how the two languages behave.
Timon3
3 months ago
[–]
No, it doesn't, it references the language at the declaration site, because the declaration site
always is
the usage site. You can't split them apart. You
can
split them apart in Python - see the example in my first comment.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: