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

Improve readability of MasterRunner.client_listener #2422

Closed
wants to merge 1 commit into from

Conversation

lozovskaya
Copy link

improve readability of MasterRunner.client_listener and reduce the cyclomatic complexity from F to D

@cyberw
Copy link
Collaborator

cyberw commented Oct 16, 2023

Some of these changes make a bit of sense, but others just make spaghetti code a completely unreadable spaghetti/function/OO hybrid monster.

A better improvement might be structured around putting the handling of each message type into its own function.

@cyberw cyberw added the stale Issue had no activity. Might still be worth fixing, but dont expect someone else to fix it label Oct 19, 2023
@cyberw cyberw closed this Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issue had no activity. Might still be worth fixing, but dont expect someone else to fix it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants