In Scala, I have progressively lost my Java/C habit of thinking in a control-flow oriented way, and got used to go ahead and get the object I\'m interested in first, and the
Why don't just use it like this:
val idiomaticVariable = if (condition) { firstExpression } else { secondExpression }
?
IMO, its very idiomatic! :)