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

Tips and todo's to implement for good design #2

Open
sticknycu opened this issue Sep 22, 2021 · 2 comments
Open

Tips and todo's to implement for good design #2

sticknycu opened this issue Sep 22, 2021 · 2 comments

Comments

@sticknycu
Copy link

sticknycu commented Sep 22, 2021

  1. Every instantiation is used in main class. Use Singleton instead.
  2. Every interface with one method use it like a functional interface (@FunctionalInterface) and lamda instead of method usage.
  3. Implement tests for code usage and coverage using Sonar.
  4. Instead of implement your own log, use lombok tag @slf4j
  5. Use fastutil for utility of map classes base.
  6. Use json jackson-library for easy ORM.
  7. Use lombok @Getter/@Setter instead of creating code.
  8. Use lombok @EqualsAndHashCode lombok tag instead of creating code.
  9. Use Hazelcast for caching.
  10. Use MapStruct for converting classes: https://mapstruct.org/

For todo future: Use Hikari database for time cooldown.

@Gabitzuu @thmihnea

@thmihnea
Copy link
Owner

Ai scris degeaba ca e proiect de un an făcut la mișto

@sticknycu
Copy link
Author

Ah...totusi, de retinut pe viitor :D

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

No branches or pull requests

2 participants