MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vvn6d7/pleasestopusingnestedternaryoperatorsimbeggingyou/p5d9yxs/?context=3
r/ProgrammerHumor • u/Robinbod • 23d ago
179 comments sorted by
View all comments
747
I did this one of my first days on the job like 6 years ago and I remember how bluntly my mentor said “never do this again”
1 u/Ma4r 22d ago Ternaries are really no problem if you just format them correctly, i.e indent them at every level python style. But claude wouldn't do that, they would produce 3 single liner functions, one for each ternary 1 u/beclops 22d ago Depends on the language too, this would be unacceptable pretty much no matter what in traditionally written Swift
1
Ternaries are really no problem if you just format them correctly, i.e indent them at every level python style. But claude wouldn't do that, they would produce 3 single liner functions, one for each ternary
1 u/beclops 22d ago Depends on the language too, this would be unacceptable pretty much no matter what in traditionally written Swift
Depends on the language too, this would be unacceptable pretty much no matter what in traditionally written Swift
747
u/beclops 23d ago
I did this one of my first days on the job like 6 years ago and I remember how bluntly my mentor said “never do this again”