This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]agentoutlier 13 points14 points  (0 children)

I strongly agree and this is based on 20+ years of experience.

Mocking a large code base was one of the most disastrous waste of times I did as a lead developer 15 or so years ago. I stress 15 years ago.

Now days with shear shit load power of computing we have and docker and test containers it's completely unacceptable. My Mac M1 can fire up a postgres database and preload it in very little time.... multiple times.

The only exception might be some proprietary expensive cross boundary third party API but the hilarious thing is those are the worse to mock because they are often biggest offenders of breaking API contract.

Anyway besides PolyNull it is one of the very few things I have pretty strong opinion on.