The dot has recently been used a lot

kotlin:

for loop 0..9

Js:

...array

.= 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.

Kind Regards,


Abdur-Rahmaan Janhangeer

https://www.github.com/Abdur-RahmaanJ

Mauritius

sent from gmail client on Android, that's why the signature is so ugly.