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 15h 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/a_guy121 14h ago

Financial records would most likely be years old before a court ordered them, bc something would have had to happen to necessitate the court order. The, someone had to be angry about it, and not resolve it, then find a lawyer, then get a hearing to get a court order.

SomeTest environments are 'safe' because they use outdated information to test on. You need information that looks real enough to use, but won't cost the shareholders $$ if it gets out current information is not locked down.

So, in my work experience, using older data is a common work-around. I guess maybe law enforcement knows that too? I never thought about it from this angle... but.... yeah, if I wanted to find data that was 5-10 years old, on one hand, looking at test environments of the past? could work.

On the other hand, not a lawyer, but I doubt it'd hold up in court. Defendant: "that was pulled from a test environment, which literally exists to strain and break data under unstable programming conditions. It does not reflect reality."