Re:What's New in Lua 5.4
by pwdisswordfish2 on Thursday July 16, 2020 @03:26AM
(#23856670)
Thing is, end-exclusive ranges go hand-in-hand with zero-based indexing. I don’t think I need to link the EWD article.
[ Parent
| on HN ]
I don't find it particularly persuasive. End-exclusive and end-inclusive can both be natural in different scenarios, regardless of the base - the article simply cherry-picks the ones that it needs to "prove" its case. That's why it's best when the language just offers both.