Earlier quoted context omitted.
> The programmers who implement this have to do what their boss tells them to, or change jobs, and this isn't something worth changing jobs over. I disagree. I've been very intentional about the places I work and have managed to build a successful career while never implementing a dark pattern. "I was just following orders" is not an excuse. Take responsibility for your actions.
I've walked out of jobs for being outright abusive before. This has made the job search much more difficult for me and has been a point of controversy in the hiring decision before. I held out for many months without employment but the savings dry up. This isn't a viable path for everyone to take. It has stunted my personal development and put me in a very difficult financial position.
Part of my success in this has been being more selective in the job search so that I'm not working at such a company to begin with.
I'll note that jobs which don't behave ethically with regards to dark patterns, also tend not to behave ethically with regards to their employees. If people care more about making money than doing what's right, that tends to be pretty pervasive in their behavior.