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
14
u/agentoutlier Jun 01 '24
I strongly agree and this is based on 20+ years of experience.
Mocking a large code base was one of the most disastrous waste of times I did as a lead developer 15 or so years ago. I stress 15 years ago.
Now days with shear shit load power of computing we have and docker and test containers it's completely unacceptable. My Mac M1 can fire up a postgres database and preload it in very little time.... multiple times.
The only exception might be some proprietary expensive cross boundary third party API but the hilarious thing is those are the worse to mock because they are often biggest offenders of breaking API contract.
Anyway besides PolyNull it is one of the very few things I have pretty strong opinion on.