this post was submitted on 12 Jun 2025
585 points (98.7% liked)

Programmer Humor

25009 readers
1827 users here now

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

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] idunnololz@lemmy.world 4 points 1 month ago (2 children)

At least you guys have ternary syntax cries in kotlin.

[–] Aqarius@lemmy.world 2 points 1 month ago

It's really special to not have ternary, but have Elvis.

[–] aubeynarf@lemmynsfw.com 1 points 2 weeks ago

in Scala, everything is an expression, including “if”, maybe kotlin is the same?