|
|
|
|
|
by Black-Plaid
3317 days ago
|
|
It's strange that on the Kotlin side the author goes out of their way to show 'shorter' ways to do things that are also available in Swift but not illustrated. let sorted = [1, 3, 6].sorted()
let sum = [1, 3. 6].reduce(0, +)
as examples |
|