News for hackers. Stuff that matters.
Re:Vue.js vs. React by elyobo on Saturday August 19, 2017 @08:57PM (#15056417)
I'll use a ternary if I want something in the "else" case, but otherwise the `&&` / `||` approach is more readable to me (there's more to read in a ternary to figure out that there's nothing happening in the else case, whereas it's obvious with the boolean approach without reading further).

There are no comments on this comment yet.