Hacker News new | past | comments | ask | show | jobs | submit login

I mean yes, so t-strings add nothing.

You could already do everything you are proposing t-strings will make easier with just strings or f-strings.

‘query: SQL “Select …”’

“Wait” you’ll say “then the function taking the string has to parse the string and will have to add ugly logic grabbing variables from globals()!” Ah yes. That’s such an ugly solution… let’s instead codify just that as the official best practice and sell people on it by prefixing a t to the string so they don’t notice…






Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: