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

Code linearization #134

Open
etr opened this issue Jan 19, 2019 · 0 comments
Open

Code linearization #134

etr opened this issue Jan 19, 2019 · 0 comments
Assignees
Projects

Comments

@etr
Copy link
Owner

@etr etr commented Jan 19, 2019

Is your feature request related to a problem? Please describe.
The code has a high number of nested blocks. This compromises both the readability of the code and the effectiveness of the dynamic analysis tools (as likely the compiler). This is the result of pushing for a single exit in methods (which is likely an academic heritage). Relaxing on that front would allow to more linear and readable methods.

Describe why the feature or enhancement you are proposing fits the library.
Go through all classes in the code and linearize as needed. Record classes while they are done.

Describe the solution you'd like
Classes have all been skimmed and are linearized.

Describe alternatives you've considered
Leaving code as is. Given the limited amount of time maintainer can spend on the code, it is viable to optimize their time by reducing their effort in reading the code.

@etr etr self-assigned this Jan 19, 2019
@etr etr added this to To do in Polishing Jan 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Polishing
  
To do
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.