this post was submitted on 19 Sep 2024
1482 points (98.4% liked)
Programmer Humor
32380 readers
1370 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The problem is that they both are contextual and can mean any position in a list/array. The starting index or starting offset is generally zero, but could be one, depending on the language used.
i wonder why people haven’t made a language that starts indexing at 2 yet. maybe some day
Maybe this could be a feature in brainfuck or COBOL.
god i hope so
Dreamberd starts array indexing at -1 instead of 0 or 1.
https://github.com/TodePond/DreamBerd
what a beautiful language