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.
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/BHJDX3VJTJJI6YE63ERNQCUVTH3DMXZQ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to