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
bdawg.io
12/08/2018, 10:29 PM
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
bdawg.io
12/08/2018, 10:33 PM
Lol, I just noticed how far ago Slack opened up to