Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^5: why the array index has to start at 0??

by LanX (Saint)
on Mar 16, 2015 at 00:27 UTC ( [id://1120129]=note: print w/replies, xml ) Need Help??


in reply to Re^4: why the array index has to start at 0??
in thread why the array index has to start at 0??

> the first year of which was year 1 A.D. (with the year before being 1 B.C.)

Actually the troubles arising from not having a year 0 are a very good argument for arrays starting with 0. :)

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)

PS: Je suis Charlie!

  • Comment on Re^5: why the array index has to start at 0??

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1120129]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-04-19 16:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found