I might be confused between hashmap in Java, and map/dict in Python.
I thought that the hash (k/v abstraction) of Java is kind of the same as dict in Python
But then what does the map datatype do?
Is it the same abstraction as the hashmap abstraction? If so, then how is it different from dictionary?
I went through the docs, but it took me to whole together different paradigm: functional programming.
Map is not a datatype in python. It applies a function to a series of values and returns the result.
Often for a simple case like that to be “pythonic” we use list comprehensions.
You are right in your comparison of hashmaps and dicts.