4 ms·
getter setters w/o buisness logic seem like an antipattern though. let spring or some other annotation handle those
by cuteboy19 2y ago
getter setters w/o buisness logic seem like an antipattern though. let spring or some other annotation handle those
- lesuorac 2y agoEh, whats the difference between spring auto-generating them at build time via an annotation or an IDE auto-generating them at write time?
- cuteboy19 2y agocoverage is not affected
- hsbbxbyb 2y agoIDE auto generation is frozen in time. You have a bunch of useless boilerplate you still need to look at to make sure nobody did something unexpected in them When annotation generated or reflection based, you only have the really interesting ones in source code to care about
- watwut 2y agoThose sux when maintaining, investigating and debugging code. They break IDE functionality too. You can't put breakpoints in them. You don't see them properly in views. It is trading off useless aesthetics over practicality.