Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ufo
on May 16, 2025
|
parent
|
context
|
favorite
| on:
Teal – A statically-typed dialect of Lua
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.
90s_dev
on May 17, 2025
[–]
I've never had an issue with =nil being delete. What problem does it cause?
ufo
on May 17, 2025
|
parent
[–]
If you accidentally store nil in an array it creates "holes" inside an array, which breaks the length (#) of the array.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: