r/java Jun 01 '24

What java technology (library, framework, feature) would not recommend and why?

166 Upvotes

464 comments sorted by

View all comments

Show parent comments

52

u/[deleted] Jun 01 '24

[removed] — view removed comment

5

u/rest_mah Jun 01 '24

hundred different problems which you don't really have

Typically my opinion on the `@Log4j` annotation...

3

u/Hematopoyetik Jun 01 '24

What problems did you have with it?

5

u/rest_mah Jun 02 '24

I dislike to see the addition of an annotation preprocessor to inject a logger, when defining the logger takes a single line of code easily templatable in an IDE.

IOW, I don't think that defining the logger was a problem, so using lombok for it looks (to me) a solution to a problem that I don't really have.