AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
How to Test Complexity in Java
The biggest value of tests is that safety net for doing changes later on. It's really not only about writing the test in the moment right now to know the thing I'm building right now works as I expected, but a very nice bonus point. So if you have like a super big large code, a complex, large, large, Complex legacy code, then all it's hard to write tests there. You kind of have to basically trick yourself with, okay, how do I need to write the tests now to actually force myself to write the real deal? And honestly, it can be fun. But if we were under time pressure, and somebody says, Hey, we have to fish