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

my time at google likewise led me to the conclusion that fakes were better than mocks in pretty much every case (though I was working in c++ and python, not java).

edit: of course google was an unusual case because you had access to all the source code. I daresay there are cases where only a mock will work because you can't satisfy type signatures with a fake.



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

Search: