i feel stupid
# getting-started
o
i feel stupid
j
I feel stupid several times a day, especially when I manage to forget one of the functional collection tricks like
mapKeys
. Part of the job 🙂
o
yes, it is a trick
i was totally not used to seeing that function
thanks a lot friend
m
By the way, when you're doing
mileageValuesToYears.keys.zipWithNext()
, you are basically zipping together random keys. A normal map and its keyset isn't ordered.
o
correct yes