[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [FUN] A bit of code golfing
- From: Hisham <h@...>
- Date: Fri, 30 Sep 2016 19:58:51 -0300
> PS: My personal favorite would be to just error() if the starting index was
> 0. Would help catch tons of off-by-ones.
For what is worth, I don't remember _ever_ having had trouble with the
0 index in string functions, or do I remember people posting about it
on the list, so I've never seen these "tons of off-by-ones" in
practice.
-- Hisham