Earlier quoted context omitted.
The moment you open that door you have created the ultimate scapegoat in every corporate decision. Now every engineer is personally responsible for corporate decisions. It's easy when you look at VW and Facebook, but the more nuanced these things get, the more that what your advocating for is that programmers have to be lawyers as well. This horrible precedent and pushes the blame for everything downstairs. Meanwhile…
I don't advocate that corporate execs have shielding and the engineers don't. Where did you read that? It sounds to me that you're misreading my comment on purpose, to make an us-vs-them argument that I fundamentally disagree with. This isn't about engineers vs bosses, it's about doing the right thing no matter what's on your business card. The argument "if we can't shift the blame up, it'll automatically go down" si…
And I'm not misreading your comment on purpose, trust me I had to read it 4 times just to make sure I wasn't crazy and I was actually reading what I thought I was: someone advocating that bottom of the food chain employees be criminally liable for code they write.
You are making an us-vs-them argument, to be sure. Your "us" is consumers and your "them" are employees, rather than corporate executives that make the decisions.
I'm not a lawyer. I expect if I'm being asked to do something, it's been vetted by our corporate legal team. I should not be expected to know every aspect of criminal and civil law to protect myself from my employer.
What you are suggesting is absurd, but fortunately, I think most would agree with me on that.