Rethinking JavaScript's Ternary Operator: jrsinclair.com/articles/2021/…
5
17
99
0
24
@JavaScriptDaily Readability should have a higher influence in your decision, as the article says, everyone can write convoluted code that only they can read.
@JavaScriptDaily I like the vertical alignment. Honestly, Ternary operators are my favorite operator in programming. I'll use them everywhere I can And I just comment above for readability. I find Ternary operators far easier than anything involving nesting.
@JavaScriptDaily i need this type od packaging. please inbox me. fiverr.com/hk_std/make-a-…