Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It’s a shortcut in the sense that most, if not all optimisations are shortcuts. This one allows you to shortcut the usual formatting machinery if the result of formatting is a static string.

Like all shortcuts, it’s not something you can always rely on.



It can be used to shortcut the formatting process, the function itself is however not a shortcut in my opinion.


Interesting viewpoint: I see this as a distinction without a difference. I’m interested to know why you see it differently? What is its use, if not as a shortcut?




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

Search: