Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
ufo
10mo ago
0 comments
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
default
newest
oldest
90s_dev
10mo ago
I've never had an issue with =nil being delete. What problem does it cause?
ufo
OP
10mo 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