Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
natefinch
on Dec 9, 2014
|
parent
|
context
|
favorite
| on:
Option and null in dynamic languages
What's the difference between a nil map and a non-nil but empty map? You asked if the map had a value for your key, and it said no.
Dewie
on Dec 9, 2014
[–]
> What's the difference between a nil map and a non-nil but empty map?
A nil map is the absence of a map. An empty map is an empty map. The distinction is clear.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: