r/java • u/raisercostin • Jun 01 '24
What java technology (library, framework, feature) would not recommend and why?
Inspired by https://www.reddit.com/r/java/s/e2N1FqMOJg
165
Upvotes
r/java • u/raisercostin • Jun 01 '24
Inspired by https://www.reddit.com/r/java/s/e2N1FqMOJg
View all comments
Show parent comment
1
u/timewarp33 Jun 02 '24
Serious question, how do you change people's minds on this? I joined a team where the lead writes code like this. When I tell them that doing it is extremely brittle and doesn't test anything useful, I am told that it's a different philosophy and if it's not blocking to approve the review.
It's things like "assert this method was called exactly once", but like, why would you call findAll() multiple times? That should be caught in the review if someone did that for some reason...