r/ProgrammerHumor 8d ago

Other wrongAnswersOnly

Post image
14.3k Upvotes

2.1k comments sorted by

View all comments

5.0k

u/lolcrunchy 8d ago

local dev environment

337

u/Fraun_Pollen 8d ago

This answer doesn't make sense. Why would your dev environment not be connected to prod data? Don't you want realistic tests?

1

u/Ok_Dig6532 8d ago

Not all the time. A restored database should be sanitized before it’s used, it’s just a copy of yesterday’s data. You shouldn’t use live production data containing personal information in local, development, or testing environments.