Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
The ambiguity between “Map” (data-structure) and “map” (higher order function)
(
twitter.com/brandonbloom
)
4 points
by
tosh
on Dec 6, 2020
|
hide
|
past
|
favorite
|
1 comment
magnostherobot
on Dec 7, 2020
[–]
I think of them as noun and verb: a Map is a mapping from thing to another thing; map the function maps several things to other things.
IMO, neither are quite named right: surely Map should be Mapping, and map should be mapSeveral?
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
IMO, neither are quite named right: surely Map should be Mapping, and map should be mapSeveral?