XP is just a number | |
PerlMonks |
Re^2: I prefer my indexes to start at:by Ratazong (Monsignor) |
on Sep 01, 2022 at 13:17 UTC ( [id://11146612]=note: print w/replies, xml ) | Need Help?? |
Since coding in c, I got used to start with zero ... and kept it. If there are algorithms (or data interfaces) that are more convenient starting with 1, I usually keep the data on index zero empty or use it for default values, as wasting one additional element is no issue nowadays .... So long, Rata
In Section
Past Polls
|
|