Hacker News new | ask | show | jobs
by tyingq 1756 days ago
>can we really create arrays with an unspecified number of entries and fill in every other entry

Seems that was a typo, but you can do that in some languages, either directly (Perl, PHP) or with help (many others). "Autovivification" seems to be the term:

https://en.wikipedia.org/wiki/Autovivification