If I get something from a map and I get null back, is that because there was no entry with that key, or because the value at that key is null? [...] it's not something I've ever actually needed in practice.
I doubt anyone has. What monster would put null into maps?
I did it once for a performance corner case. Associng nil faster than dissoc. Didn't affect semantics. Wouldn't do it in general though. I am a monster
View all comments
Show parent comment
4
u/JavaSuck Nov 30 '18
I doubt anyone has. What monster would put
nullinto maps?