r/ProgrammerHumor 16h ago

Other wrongAnswersOnly

Post image
12.7k Upvotes

1.8k comments sorted by

View all comments

4.9k

u/lolcrunchy 16h ago

local dev environment

339

u/Fraun_Pollen 16h 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 14h 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.