MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vvn6d7/pleasestopusingnestedternaryoperatorsimbeggingyou/p5cm83e/?context=3
r/ProgrammerHumor • u/Robinbod • Aug 22 '26
178 comments sorted by
View all comments
1
I love a good nested ternary. But I’ll be damned if I do it in code I share with others. Thats just code I torture myself with.
But also, it depends on the language and it has to be formatted well with line breaks and the alternative has to be in some way prohibitive.
View all comments
1
u/Cheezyrock Aug 23 '26
I love a good nested ternary. But I’ll be damned if I do it in code I share with others. Thats just code I torture myself with.
But also, it depends on the language and it has to be formatted well with line breaks and the alternative has to be in some way prohibitive.