if the if and else are both single-line expression...
# codingconventions
s
if the if and else are both single-line expressions I’m kinda partial to this
Copy code
val result = if (condition) first
             else second
b
Deep nesting based on dynamic length indentation is the devil 👹. It’s just useless churn when you have to update the indent because the line before changed
Lol, I just noticed how far ago Slack opened up to