I don't want to use ternaries

3 years ago by Xylight (Photon dev) to c/programmer_humor

load all comments
james 7 points 3 years ago

I like using if expressions in kotlin, but secretly sometimes I miss ternaries

path: 0 993492, hotness: undefined, score: 7, children: 0
programmer_humor
programmer_humor

@programming.dev

login for more options
33583
2553
7031

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
    • If the mod doesn't find it funny, you're banned. Ha-ha!... For real: do not use the community for "statements". There are other places for such content. Keep it chill and funny.

go to feed...