-
-
Notifications
You must be signed in to change notification settings - Fork 536
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
Code Quality (no-nonsense JS) #2650
base: master
Are you sure you want to change the base?
Conversation
64169a8
to
63edbd5
Compare
A deicision has to be made about |
@ImprovedTube hi! |
hi again and thanks! @4yman-0 - this must have taken a while!! Makes me hopeful you spend more hours here in future. Most of the current code was still written and structured by the same author carefully, who is gone since 2022. Architecture: #2415 (#2459) #2276
The majority of existing choices (main authors) will be for a reason. The random (some authors) might not matter.
Please note down if anything really seems complication, like slowing down development. I might added some quick remedies /tests without indentation or line breaks and (so they can be identified like that too. ) (So that's just work in progress and formatting these equally makes that less clear. Some of it might also be ok to stay for 20 years. who knows, as long as we have open issues and more important tasks than reducing nano seconds of cpu.) Reducing code size: Misc: We could shrink the code by some more percent #1634, for example most (all?) of the improvedtube.something() functions checking improvedtube.storage.something etc. could use "this" - if in all foreseeable future the functions need not be called differently changing "this". |
I don't really think that slowing down developement. TBH
here's CanIUse for ES6 (the kinda new javascipt) which the upstream (code-charity) code is already using (
This PR is called "Code Quality". I can work on a "Use BASH for CI and remove async loading" after this is resolved. Edit: Add stuff. |
This comment was marked as outdated.
This comment was marked as outdated.
9bc811e
to
1f0e708
Compare
After a lot of trial and error. I will not use ES6 because it breaks |
No description provided.