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

Coming from a C background I always stuck with double quotes for strings. Single quotes are used for characters in C. I think double quotes are better anyway because an apostrophe is much more likely to turn up in a string than a double quote itself. I rarely have to manually escape quotes inside strings.


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

Search: