3 ms·
Nice article, but I think some of the ideas need some clarification. > For example, keys of a Map object are value equality checked... This has a lot of really
by webXL 11y ago
Nice article, but I think some of the ideas need some clarification.
> For example, keys of a Map object are value equality checked... This has a lot of really nice implications.
I'm not sure how immutability helps here. And it's not possible to use reference equality, since with queries, you're converting user input into a data structure.
Edit: never mind. Precisely because you're dealing with input, you have to use value-equality.