An Algorithmic Analogy
Consider the following scenario, you intend to create an implementation of the Selection Sort algorithm in your application.
fun selectionSort(collection: IntCollection) ...
selectionSort(arrayOf(1,2,5,9,10)) // COMPILES SUCCES...