Y
Hacker News
new
|
ask
|
show
|
jobs
by
ufo
397 days ago
Tables being dual purpose is fine. The real problem is that assigning nil deletes the table field. Unfortunately, fixing that now would cause Python3 levels of breakage.
1 comments
90s_dev
397 days ago
I've never had an issue with =nil being delete. What problem does it cause?
link
ufo
397 days ago
If you accidentally store nil in an array it creates "holes" inside an array, which breaks the length (#) of the array.
link