| ▲ | AlienRobot 3 hours ago | |||||||||||||||||||||||||
I wrote in my AGENTS.md "do not use chained ternary operators." I'm still waiting for it to work. | ||||||||||||||||||||||||||
| ▲ | userbinator 2 hours ago | parent | next [-] | |||||||||||||||||||||||||
I would actually prefer chained ternaries over more verbose if/else expressions with duplicated LHS, so this does go back to the argument about "taste". | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | pianopatrick 2 hours ago | parent | prev [-] | |||||||||||||||||||||||||
You're better off using linting for something specific like that. | ||||||||||||||||||||||||||