Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
GitHub Style Guide: "Write new JS in CoffeeScript." (github.com/styleguide)
22 points by md224 on March 26, 2012 | hide | past | favorite | 1 comment


You prepend 'js-' to a selector, not append it. Otherwise you'd end up with 'my-thingjs-', which is weird.

Also, no semicolons, yey. Coffeescript, boo.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: