News for hackers. Stuff that matters.
Re:“What if it changes?” by davedx on Monday May 23, 2022 @03:47AM (#31476299)
I think the test pyramid still has legs. Write both.

I do agree a lot of abstractions in C#/Java seems to be testing implementation stuff leaking into the abstraction layer. A lot of inversion of control in these languages seems purely to allow unit testing, which is kind of crazy.

Personally I prefer the "write everything in as functional a style as possible, then you'll need less IoC/DI". This can be done in C# and Java too, especially the modern versions.

There are no comments on this comment yet.