> But doesn’t it look much cleaner
Bob Myers

Thanks for your comment, and I’m glad you’ve found most of the article useful. I will probably add a section on precedence soon, although mixing operators is something linters will complain about.

I had a quick look and found that ESLint doesn’t complain if you use expressions, JSHint didn’t either in their REPL, and JSLint threw a warning.

As for style guides, out of the most popular ones (Google, AirBnB and Standard), I’ve had a quick look and only the AirBnB one seems to advise against it.

Ultimately, I wouldn’t say this is widely considered bad style, in fact, in React it is pretty much a must to use it, but we agree that you should always follow whatever your company’s style guide dictates. Consistency is key.