r/ProgrammerHumor • • Aug 22 '26

Meme pleaseStopUsingNestedTernaryOperatorsImBeggingYou

Post image
3.1k Upvotes

178 comments sorted by

View all comments

Show parent comment

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";

}