about Code Structure (and auto-testing/Selenium/Github Actions and so on) #998
Unanswered
ImprovedTube
asked this question in
Organization
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi guys, separating this topic from issue thread. Should be a wikipage / mentioned in the readme?
@talks2much commented 12 days ago
"
We should definitely setup tests with GitHub action to test all YouTube features every day to fix them in time, just like node-ytdl-core did it.
@ImprovedTube What do you think about TypeScript & ES2018+ refactor? This codebase might have some bugs that rly hard to detect due types overlapping.
"
victor-savinov commented 11 days ago
Logging.
The structure of ImprovedTube code is as simple as possible, you don't need to have error logs to fix a bug. Bug fix algorithm:
Refactor.
ImprovedTube.shortcuts - is already a refactor . The idea behind the ImprovedTube structure is "block-based": all the feature code is stored in the ImprovedTube.featureName. Your request complicates the code:
TypeScript.
Most people use only JavaScript. TypeScript splits the community, I'm not sure if this improve the developer experience. It also requires compilation.
Beta Was this translation helpful? Give feedback.
All reactions