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

Swift’s choice has the advantage of visually unifying the two cases where text in a string literal is interpreted as something other than the text itself. One is backslash escapes like \n and \\. The other is string interpolation.


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

Search: