Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
ufo
1y ago
0 comments
Save
Share
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.
0 comments
2 comments · 1 top-level
top
newest
oldest
90s_dev
1y ago
· 1 in thread
I've never had an issue with =nil being delete. What problem does it cause?
ufo
OP
1y ago
If you accidentally store nil in an array it creates "holes" inside an array, which breaks the length (#) of the array.
j
/
k
navigate · click thread line to collapse