Comment on What host names do you use?

<- View Parent
MonkeMischief@lemmy.today ⁨3⁩ ⁨weeks⁩ ago

One possibility could be because in conventional “computer counting” in (most) coding languages, it starts at zero. Like if I make an array of things

[monke, chimp, peanut]

monke would be [0]

chimp would be[1]

peanut would be [2]

Once I learned about this concept I started naming enumerated things from 0 usually just to keep a kind of consistency. Maybe I think if it’s a habit, I won’t make those mistakes with code. :p

source
Sort:hotnewtop