Y
Hacker News
new
|
ask
|
show
|
jobs
by
nttdocomo
4277 days ago
Dear lord that JavaScript is painful to read. I want to submit a pull request and fix all their semicolons.
2 comments
kysol
4277 days ago
Not for/against the code formatting, just giving you a target (just hope you know who you're going after) :D
https://github.com/reddit/reddit/commit/8e2737dab409c46d688c...
link
madlee
4276 days ago
FWIW, there _is_ a proper styleguide now, it just hasn't been retroactively applied to older js.
https://github.com/reddit/styleguide/tree/master/javascript
link
nttdocomo
4276 days ago
Nice, looks like they went with a slightly modified version of airbnb's js styleguide. That's what we use at work.
link
https://github.com/reddit/reddit/commit/8e2737dab409c46d688c...