jesseduffield / jesseduffield/OK

One based indexing

Open
#11 1 comment 4 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
624
Forks
22
PR merge metrics
No merged PRs in 30d

Description

I believe a language that strive for minimizing cognitive overhead, should have indexes (e.g for arrays) have 1 for starting value and not zero.
Doing so is significantly more intuitive and avoid a gigantic number of off by one errors (e.g no longer a mismatch between lastindex and .size()

Julia is showing to the world that this feature can be well adopted.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.