Hacker News new | past | comments | ask | show | jobs | submit login

Yeah, he's talking to you for sure.



Yep, and he did a very bad job at it (and so do you) if the goal was to change my mind. Do you maybe have arguments?


Mocks mean your code is too tightly coupled. You should be able to unit test your code by creating only fake data.

Things like dependency injection increase coupling to the point where you have to mock. Avoid dependency injection and other complexity within complexity features.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: