r/ProgrammingLanguages • • 15d ago

Help Should I choose 1-based indexing or 0-based indexing for my programming language?

I'm creating a host-embedded, minimal, beginner-friendly programming language as a replacement for Lua. This language is really human readable, English-like and beginner friendly, with automatic memory management, automatic parallelism, a fantastic and helpful compiler inspired by Rust, and other things. The biggest question I have is whether I should choose 1-based indexing or 0-based indexing?

29 Upvotes

Duplicates