Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: