Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

let/const consistency in README: let preference #2227

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

dearlordylord
Copy link
Contributor

@dearlordylord dearlordylord commented Jul 1, 2024

I noticed let and const are used interchangeably in README. For consistency, I'd like to propose to use either/or. The previous PR #2226 was about changing all lets to consts

I noticed let and const are used interchangeably in README. For consistency, I'd like to propose to use either/or. The previous PR was about changing all `let`s to `const`s
@alexandermirzoyan
Copy link

Why to use let if in the code snippets variables are not being changed?

@dearlordylord
Copy link
Contributor Author

That's a big topic (why not use DeepReadonly<> for every structure then?), but the goal of the PR is consistency. There's a satellite PR that makes everything const. The point is that in the README, let and const are intermixed for no apparent reason.

@jquense jquense merged commit 5a22c16 into jquense:master Jul 2, 2024
@jquense
Copy link
Owner

jquense commented Jul 2, 2024

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants