News for hackers. Stuff that matters.
Re:Lua, a Misunderstood Language (2021) by wielebny on Thursday September 29, 2022 @02:34PM (#33025147)
> If I ask you to count the number of red balls in a bag with only 3 yellow balls, then the initial count in your head is 0, you inspect the balls one by one, never encountering a red ball, and thus never incrementing the count. And then you pronounce your final count of 0. So that's counting starting from 0.

Well, just like lua:

    > a={}

    > print(#a)

    < 0

There are no comments on this comment yet.