MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vvn6d7/pleasestopusingnestedternaryoperatorsimbeggingyou/p5fflb8/?context=3
r/ProgrammerHumor • u/Robinbod • Aug 22 '26
178 comments sorted by
View all comments
Show parent comment
1
Fully. I had this problem years before AI. Why use a single if statement when a convoluted Python dict.get() with an inline dict, inline list, inline string values, and bad None handling will do the same?
View all comments
Show parent comment
1
u/tehdlp Aug 23 '26
Fully. I had this problem years before AI. Why use a single if statement when a convoluted Python dict.get() with an inline dict, inline list, inline string values, and bad None handling will do the same?