Skip to content

Conversation

@Furk4nBulut
Copy link
Contributor

Describe your changes

Checklist

  • I have read the [CONTRIBUTING]
  • I have performed a self-review of my own code
  • I have run the code locally and it works as expected
  • I have commented my code, particularly in hard-to-understand areas

Copy link
Owner

@canbula canbula left a comment

Choose a reason for hiding this comment

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

Solve this with 2 functions, 3 wrapped functions are redundant.

Copy link
Contributor Author

@Furk4nBulut Furk4nBulut left a comment

Choose a reason for hiding this comment

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

Describe your changes

Checklist

  • I have read the [CONTRIBUTING]
  • I have performed a self-review of my own code
  • I have run the code locally and it works as expected
  • I have commented my code, particularly in hard-to-understand areas

@Furk4nBulut Furk4nBulut requested a review from canbula December 25, 2024 20:28
Copy link
Owner

@canbula canbula left a comment

Choose a reason for hiding this comment

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

Reduce the number of inner functions.

Copy link
Contributor Author

@Furk4nBulut Furk4nBulut left a comment

Choose a reason for hiding this comment

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

Describe your changes

Checklist

  • I have read the [CONTRIBUTING]
  • I have performed a self-review of my own code
  • I have run the code locally and it works as expected
  • I have commented my code, particularly in hard-to-understand areas

@Furk4nBulut Furk4nBulut requested a review from canbula December 26, 2024 21:07
Copy link
Contributor Author

@Furk4nBulut Furk4nBulut left a comment

Choose a reason for hiding this comment

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

Describe your changes

Refactored the code to a class-based implementation.

Checklist

  • I have read the [CONTRIBUTING]
  • I have performed a self-review of my own code
  • I have run the code locally and it works as expected
  • I have commented my code, particularly in hard-to-understand areas

Copy link
Owner

@canbula canbula left a comment

Choose a reason for hiding this comment

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

👍

@canbula canbula merged commit bf0ef4e into canbula:master Dec 28, 2024
1 check passed
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.

2 participants