Inconsistency between languages for loops
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 641
- Avg merge
- 12h 4m
- Merged PRs (30d)
- 57
Description
Small nit. But I noticed that there is an inconsistency between using "index" and "i" as the default loop variable name and 4 and 5 as the default max.
In Blocks we use index and 4, and in JavaScript we use i and 5, and in Python we use i and 4.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the loop defaults for Blocks, JavaScript, and Python and compare the variable names and maximum values described in the issue. Confirm the intended consistent behavior with the project context, then verify that all three language experiences use the agreed defaults.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, python, typescript
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100