Instead, the compiler could figure it out for itself using type inference.
⇑ Translate the sentence above by Google ⇑
Related: inference
Prev: Even with type inference, redundant type information is needed.
Next: Another example: Generic type inference.