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

That's correct. But the article is making a subtly different comparison, which the parent is responding to. Specifically, with one string-literal argument, f`hi` and f(`hi`) are nearly identical from the perspective of the caller, as long as you deconstruct the extra array in the function body.

This is cute, but since you're limited to literal strings, you can't push this very far before using a regular parenthesized function is better again.




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

Search: