https://kotlinlang.org logo
#announcements
Title
# announcements
d

Daniel

05/08/2017, 10:32 PM
Its amazing how little things like the extension Property
lastIndex
improve the readability of the code
👍 3
😱 1
a

anton.golovin

05/08/2017, 10:55 PM
ferranis: thank you for reminding. Just made a change from
length - 1
to
lastIndex
🙂
k

kirillrakhman

05/09/2017, 8:39 AM
you can make your code even prettier by using
for (i in list.indices)