i'm jumping to `python` from time to time. and som...
# announcements
d
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
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.
👍 2
1
a
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
Copy code
itertools.accumulate()
function so ended up defining it as an Extension method.