Re:The Awk Programming Language (1988) [pdf]
by kqr on Thursday May 24, 2018 @04:19PM
(#17147982)
Defaultdicts to the rescue! But I think it should be an explicit choice. If you only intend to have lists at some keys, and then accidentally mistype a key, it shouldn't (in my opinion) silently create a list, effectively hiding the bug.
[ Parent
| on HN ]
There are no comments on this comment yet.