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

When not using the format specifiers or alignment it will indeed compile to just string.Concat (which is also what the + operator for strings compiles to). Similar to C compilers choosing to call pits instead of printf if there is nothing to be formatted.



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

Search: