Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link
URL Rewriter Bot
URL Rewriter Bot

A question asked here recentlyquestion asked here recently reminded me of a debate I had not long ago with a fellow programmer. Basically he argued that zero-based arrays should be replaced by one-based arrays since arrays being zero based is an implementation detail that originates from the way arrays and pointers and computer hardware work, but these sort of stuff should not be reflected in higher level languages.

Now I am not really good at debating so I couldn't really offer any good reasons to stick with zero-based arrays other than they sort of feel like more appropriate. I am really interested in the opinions of other developers, so I sort of challenge you to come up with reasons to stick with zero-based arrays!

A question asked here recently reminded me of a debate I had not long ago with a fellow programmer. Basically he argued that zero-based arrays should be replaced by one-based arrays since arrays being zero based is an implementation detail that originates from the way arrays and pointers and computer hardware work, but these sort of stuff should not be reflected in higher level languages.

Now I am not really good at debating so I couldn't really offer any good reasons to stick with zero-based arrays other than they sort of feel like more appropriate. I am really interested in the opinions of other developers, so I sort of challenge you to come up with reasons to stick with zero-based arrays!

A question asked here recently reminded me of a debate I had not long ago with a fellow programmer. Basically he argued that zero-based arrays should be replaced by one-based arrays since arrays being zero based is an implementation detail that originates from the way arrays and pointers and computer hardware work, but these sort of stuff should not be reflected in higher level languages.

Now I am not really good at debating so I couldn't really offer any good reasons to stick with zero-based arrays other than they sort of feel like more appropriate. I am really interested in the opinions of other developers, so I sort of challenge you to come up with reasons to stick with zero-based arrays!

Post Deleted by Jeff Atwood
Question Protected by CommunityBot
Post Locked by CommunityBot
Post Migrated Away to programmers.stackexchange.com by CommunityBot, Robert Harvey
Post Closed as "off topic" by CommunityBot, Robert Harvey
Post Unlocked by Grace Note
Post Reopened by Grace Note
Post Locked by CommunityBot
Post Closed as "off topic" by user7116, Grace Note
Post Unlocked by Shog9
Post Reopened by Shog9
Post Locked by CommunityBot
Post Closed as "off topic" by Shog9
Post Reopened by Shog9
edited tags
Link
Robert Harvey
  • 181.5k
  • 48
  • 349
  • 516
Post Unlocked by Shog9
Post Locked by CommunityBot
Post Closed as "off topic" by Robert Harvey
Post Reopened by Robert Harvey
Post Unlocked by Robert Harvey
Post Closed as "off topic" by Robert Harvey
Post Reopened by Robert Harvey
Post Locked by CommunityBot
Post Closed as "off topic" by Robert Harvey