It's a nice feature, but it makes reading your code slightly harder.
It may seem like a good idea now, but your future self or your teammates may disagree.
I should disagree with you here ;), as a developer when you write multiple nested ternary operators for a complex if conditional, I can understand that it reduces the readability, whereas when you write a ternary instead of a simple if condition in one line, rather I'd appreciate you,
It's a nice feature, but it makes reading your code slightly harder.
It may seem like a good idea now, but your future self or your teammates may disagree.
I should disagree with you here ;), as a developer when you write multiple nested ternary operators for a complex if conditional, I can understand that it reduces the readability, whereas when you write a ternary instead of a simple if condition in one line, rather I'd appreciate you,
Maybe I just need to get used to it :)