News for hackers. Stuff that matters.
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.
Re:What's New in Lua 5.4 by int_19h on Thursday July 16, 2020 @05:56AM (#23857380)
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.