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

Added updates and refactored code #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mscr06
Copy link

@mscr06 mscr06 commented Nov 6, 2021

Points Looked at:

  1. Refactor existing code as it has lot of raw data.
  2. Kept main logic code as minimal as possible by extracting enums, constants into new files.
  3. Used enum values as holidays list for a year(2013 doesn't make sense) as it changes every year, better solution would be to read property file outside the codebase.
  4. Kept the code in accordance with sonarqube quality check.
  5. Have written sample main method test file. We can use JUnit if we move to MVC totally.

P.S: GIF is from Hackers movie :)

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