DEV Community 👩‍💻👨‍💻

Discussion on: The Case for Comma-Leading Lists

Collapse
 
elgoorf profile image
Hussein Duvigneau

I do similar for ternary and logic operators. It has all the benefits of the above, plus you can comment out the line without having to faff about with commenting the '&&' or '||' at the end of the previous line.