Inconsistent File Naming: CamelCase vs PascalCase

Open
#2,043 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript

Research direction

Review JavaScript filenames in the algorithms, data-structures, playground, and utils/comparator folders, noting the stated exceptions for sorting algorithms, Matrix.js, and Knapsack.js. Confirm the intended PascalCase convention and inventory the affected files; done means the applicable filenames follow one consistent convention.

Written by the indexing model from the issue text.

Description

Hello, while using your repository, I noticed that there is currently an inconsistency in file naming conventions. All JavaScript file names in the algorithms folder (with the exception of all sorting algorithms, Matrix.js from math and Knapsack.js from sets), are in camel case while all the JavaScript file names in data-structures, playground and utils/comparator are in pascal case. I propose changing file names from camel case to pascal case to enhance consistency in the repository. I'm new to OSS, so I thought this might be a good introduction to contributing. Let me know what you think!

Dominant language
JavaScript
Stars
197k
Forks
31k
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from trekhleb/javascript-algorithms

All issues in trekhleb/javascript-algorithms

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.