re: What do you think about the ternary operator? VIEW POST


I love ternaries and think they improve readability but:

  1. I keep strict ESLint rules for code standardization, which ensures ternary operations are formatted in a readable way and
  2. my background is in mathematics, so everything and anything is better than nested ifs in Excel. I'll never see anything else as unreadable after some of those messes I've had to read and create in order to finish a class.
code of conduct - report abuse