Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
marcosdumay
on Oct 24, 2013
|
parent
|
context
|
favorite
| on:
Why Python uses 0-based indexing. It's because of ...
That's because Perl does not have arrays. You've been using hashes.
In practice, Perl is not expected to be fast, so I don't think there's any difference.
neild
on Oct 24, 2013
[–]
This is not correct. Perl has arrays and, as the person you are replying to said, allows the index of the first array element to be changed globally by setting a special variable. $[, if I recall correctly.
Consider applying for YC's Winter 2027 batch!
Applications
are open till November 2.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
In practice, Perl is not expected to be fast, so I don't think there's any difference.