Skip to content

Change import statements to use only used classes - #2398

Merged
geekcomputers merged 1 commit into
geekcomputers:masterfrom
Ferszus:BlackJack-code-refactored
Oct 27, 2024
Merged

Change import statements to use only used classes#2398
geekcomputers merged 1 commit into
geekcomputers:masterfrom
Ferszus:BlackJack-code-refactored

Conversation

@Ferszus

@Ferszus Ferszus commented Oct 26, 2024

Copy link
Copy Markdown
Contributor

Updated import statements to avoid from module import * usage. Importing specific functions or classes improves code readability, minimizes the risk of name conflicts, and enhances performance by only loading necessary components. This approach also facilitates better static analysis and autocompletion support.

@geekcomputers
geekcomputers merged commit e8efdc1 into geekcomputers:master Oct 27, 2024

@NitkarshChourasia NitkarshChourasia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good.

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