DEV Community

Discussion on: Why is map called map?

Collapse
 
wolverineks profile image
Kevin Sullivan • Edited

Which is weird to me, because I think of a physical map as changing the structure and keeping the data, and a mathematical/programming map to be keeping the structure and changing the data.

In my mind it would make more sense to map a linked list onto an array, or map an object onto an array, Object.values(someObject).