CodeIN-Community-Website icon indicating copy to clipboard operation
CodeIN-Community-Website copied to clipboard

[FEATURE] Enhancement: Improve Code Quality and Performance

Open thevijayshankersharma opened this issue 1 year ago • 4 comments

Description

The current codebase contains duplicated code, lacks consistent error handling, and could benefit from performance optimizations.

As a participant of GSSoC (GirlScript Summer of Code), I'm interested in taking on this issue to contribute to the project's improvement. I believe that addressing these areas for improvement will enhance the code quality and performance of the project, benefiting both the project and its users.

I'm open to feedback and guidance from project maintainers and fellow contributors throughout the process. Looking forward to working on this enhancement!

Screenshots

No response

thevijayshankersharma avatar May 10 '24 12:05 thevijayshankersharma

@thevijayshankersharma Go for it.

SauravMukherjee44 avatar May 10 '24 20:05 SauravMukherjee44

@SauravMukherjee44 could you add levels ?

thevijayshankersharma avatar May 11 '24 01:05 thevijayshankersharma

@SauravMukherjee44 I have updated the code in my github account check that. Changes I made Refactor code to improve readability and maintainability

  • Utilize async/await for fetching data from the GitHub API
  • Replace nullish coalescing operator for handling null or undefined data
  • Simplify code by removing duplicated logic
  • Remove redundant comments and console.log statements
  • Improve formatting and indentation for better code organization

Should I raise pull request now ?

thevijayshankersharma avatar May 11 '24 11:05 thevijayshankersharma

@SauravMukherjee44 Hey I have raised the PR check it out.

thevijayshankersharma avatar May 15 '24 01:05 thevijayshankersharma