Re:You probably don't need a dependency injection framework
by shadowgovt on Tuesday May 27, 2025 @12:42PM
(#44108561)
Interesting. Why is it considered poor practice to monkey-patch getDate for testing purposes in Java?
Of course you can do it in Java. But it is widely considered poor practice, for good reason, and is generally avoided.