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

feat(build): #45 refactorize code and add utils #46

Merged
merged 1 commit into from
Sep 8, 2024
Merged

Conversation

rohaquinlop
Copy link
Owner

  • Refactorize code to have real private methods in the classes.
  • Create a new module called utils with some functions that follows the DRY principle.
  • The utils modules contains the following functions:
    • list_map
    • list_filter
    • flatten_list
  • This new functions are used in the NFA class to simplify the code and make it more readable.
  • This new functions were implemented following the most common functional programming principles
    to make the code more readable and maintainable.

- Refactorize code to have real private methods in
the classes.
- Create a new module called utils with some
functions that follows the DRY principle.
- The utils modules contains the following functions:
  - list_map
  - list_filter
  - flatten_list
- This new functions are used in the NFA class to
simplify the code and make it more readable.
- This new functions were implemented following
the most common functional programming principles
to make the code more readable and maintainable.
Copy link

sonarqubecloud bot commented Sep 8, 2024

@rohaquinlop rohaquinlop merged commit 6df8d84 into main Sep 8, 2024
3 checks passed
@rohaquinlop rohaquinlop deleted the issue-45 branch September 8, 2024 18:15
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.

1 participant