Some code I recently ran into in our code-base.
val minOffset: Long = if (items.isEmpty) 0 else items.map(_.offset).min
It is too verbose. Instead of the code telling you what is it's purpose, it is telling you what to do.
An ideal syntax for that would be for me :