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

Adding a leading semicolon just in case seems like overly defensive programming to me. You ought to pick trustworthy tools. If your script concatenator doesn't work right, I think it's better to fail fast rather than let things quietly be half-broken all over the place.


You ought to pick trustworthy tools.

Many JavaScript snippets are made to be integrated and added by other people on their websites.




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

Search: