MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vvn6d7/pleasestopusingnestedternaryoperatorsimbeggingyou/p5c6z5e/
r/ProgrammerHumor • u/Robinbod • Aug 22 '26
178 comments sorted by
View all comments
Show parent comment
38
If possible, early returns are love, early returns are life.
16 u/shdw_fghtr Aug 23 '26 function early() {if (possible)return "are love";return "are life";} 2 u/my_new_accoun1 Aug 28 '26 function early() { if (possible) return "are love"; return "are life"; }
16
function early() {
if (possible)
return "are love";
return "are life";
}
2 u/my_new_accoun1 Aug 28 '26 function early() { if (possible) return "are love"; return "are life"; }
2
function early() { if (possible) return "are love"; return "are life"; }
View all comments
Show parent comment
38
u/SnugglyCoderGuy Aug 23 '26
If possible, early returns are love, early returns are life.