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

Replace boilerplate code with Lombok #406

Open
rufus20145 opened this issue Nov 23, 2024 · 2 comments
Open

Replace boilerplate code with Lombok #406

rufus20145 opened this issue Nov 23, 2024 · 2 comments

Comments

@rufus20145
Copy link

rufus20145 commented Nov 23, 2024

If you don`t mind, I`ll rewrite model classes with Lombok for easier updates in future and to avoid such a mess like in BotCommand

@anfanik
Copy link
Collaborator

anfanik commented Dec 8, 2024

New classes in the library are written in Kotlin, so we don’t need to use Lombok to clean up the code.

@rufus20145
Copy link
Author

I really liked Lombok-style accessors that omit the get/set prefixes. In my opinion, they're much more readable, especially when used in method chaining. From what I can tell, Kotlin generates accessors with get/set, which is a bit disappointing. 😢

That said, I can still start rewriting the old classes in Kotlin.

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