30 Sep 2020 30 Sep '20
The dot has recently been used a lot
for loop 0..9
.= seems cool enough
Btw i saw this on Kotlin's doc, the first time i see a direct reference from one 'recent' language concerning another.
Kotlin's loops are similar to Python's. for iterates over anything that is *iterable* (anything that has an iterator() function that provides an Iterator object), or anything that is itself an iterator:
The for in loop influenced quite some langs which makes me think that the spirit of Python as well as it's community is curiously awesome.
sent from gmail client on Android, that's why the signature is so ugly.