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

The coding style of "cfg" is bad. #71

Open
2catycm opened this issue Jul 28, 2024 · 1 comment
Open

The coding style of "cfg" is bad. #71

2catycm opened this issue Jul 28, 2024 · 1 comment

Comments

@2catycm
Copy link

2catycm commented Jul 28, 2024

cfg is like *args, **kwargs
When I read the code,
I never know what keys are going to be used in the underlying function.
I need to read the whole project to understand how to write a cfg to pass into a single function.

@MingheShen
Copy link

So true. Coding like this style is really hard and time-consuming to read through.

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

No branches or pull requests

2 participants