with Kotlin IDEA seems to prefer this myMap[mykey]...
# getting-started
v
with Kotlin IDEA seems to prefer this myMap[mykey] over this myMap.get(mykey) , is that the more idiomatic way to do things?
👌 14
b
Yes, it has its own section on the Kotlin idioms page: https://kotlinlang.org/docs/reference/idioms.html#accessing-a-map
👍🏽 1