...
/Introduction to External Iteration with Argument Matching
Introduction to External Iteration with Argument Matching
We'll cover the following...
Count the number of times you’ve used for loops in your code. Shocking. Something that’s so widely used and fundamental as iterating should be fluent, concise, easy to write, and effortless to understand. Yet, in C-like languages, for
loops have rather been primitive and verbose. Not so in Kotlin.
Kotlin provides both external iterators, used in the imperative style of programming, and internal iterators, used in the functional style. With external iteration, you, as the ...