r/javascript • • Mar 27 '15

Airbnb JavaScript Style Guide - A mostly reasonable approach to JavaScript

https://github.com/airbnb/javascript/blob/master/README.md
315 Upvotes

158 comments sorted by

View all comments

Show parent comments

24

u/acoard Mar 27 '15

It's especially nice for nested ternaries:

Nothing is nice about nested ternaries.

1

u/BlitzTech Mar 28 '15

Well... They are a nice indicator of needing to run the hell away from code containing them...