Maps - what's the difference?

Monkey Forums/Monkey Programming/Maps - what's the difference?

GfK(Posted 2011) [#1]
I've noticed that Maps have a Set() and an Insert() method. What's the difference? Likewise, there is a ValueForKey() and a Get() method.


muddy_shoes(Posted 2011) [#2]
There is no difference, functionally. Insert and ValueForKey just call Set and Get. Insert and ValueForKey are both marked as deprecated so shouldn't be used.