What is the canonical way to get an empty array in Scala? new Array[String](0) is too verbose.
new Array[String](0)
If the array type is one of the primitives, you can use the shortcuts from scala.Array.
For example for a byte array it would be:
val arr = Array.emptyByteArray
This is useful when the type cannot be inferred and you want to remain less verbose.