4 ms·
Anything other than base 0 would be unacceptable in python; people would go crazy. Personally, this is the biggest reason I can't use R—my brain doesn't work wi
by duaneb 10y ago
Anything other than base 0 would be unacceptable in python; people would go crazy. Personally, this is the biggest reason I can't use R—my brain doesn't work with position-based indexes; I'm just hardwired to offset.
- goatlover 10y agoJust as you learned to start counting at 1 like the rest of the world, you can relearn it easy enough. I don't have any problems using Julia's 1 based arrays. I always thought 0 based in high level dynamic languages was silly.
- deleted 10y ago[deleted]
- duaneb 10y agoWhat does dynamic vs static have anything to do with preferred indexing convention? The former is an execution time detail, the latter is how to index memory.
- baldfat 10y agoAnd that is 100% valid. So Python is a better choice. I just don't understand why the world isn't big enough for R and Python in the community especially since the leaders in R and Python get along so well.