zsh is generally wonderful, and it's sufficiently like bash/POSIX sh that it works.
However, it uses 1-indexed arrays, whereas bash uses 0-indexed arrays. This totally caught me out.
miniblog.
Related Posts
Designing tensors so dimensions are indexed by name rather than number, even adding a concept of privacy!
Google prefers to index newer pages: https://stop.zona-m.net/2018/01/indeed-it-seems-that-google-is-forgetting-the-old-web/
Perhaps people want newer results more often? The article suggests there's probably a limit how much can be indexed for immediate retrieval.
Let Over Lambda, a remarkable book on Common Lisp macros, has a cute demonstration of how to get lisp-1 semantics using macros.
It does make me think about defaults though. I can create a 1-indexed array in JS, Perl or Python, but I wouldn't in practice.