https://kotlinlang.org logo
Title
d

deviant

03/12/2018, 9:00 AM
i'm jumping to
python
from time to time. and sometimes trying to bring python syntax into kotlin. probably i must be shot for such things anyway 🙂
m

mrtact

03/28/2018, 3:29 PM
Ironically, after working in Kotlin for a while, I now find writing Python kind of onerous, because stream operators do not return
self
, making chaining impossible.
After becoming acquainted with java/kotlin fluent stream syntax, I have learned that I hate list comprehensions.
1
👍 2
a

andyb

03/28/2018, 3:35 PM
I have recently flipped back to Pyhton & finding the transition unpleasant, now feels like I am coding without a safety net. One function that I did miss when going from Python to Kotlin was the
itertools.accumulate()
function so ended up defining it as an Extension method.