Earlier quoted context omitted.
Why would gambling be high risk for employees? Unless you compare it to some cushy govt job it isn't really more "layoff-prone" than others.
The risk is that if you ever want to leave the gambling industry you'll be the candidate who made their living swindling vulnerable people.
While I agree in an ideal world, individuals should all stand up against unethical employment options, I am also mature enough to know not to penalise someone who might be otherwise meritorious based on what could be situational.
We should take a stand against predatory companies that attack the vulnerable, but this should be done at a government level, not an individual employee level, because it’s a much more efficient utilisation of resources for a large organisation with teeth to be subdued by another large organisation with teeth.
I would hire someone who used to be in gambling (if they were a good fit culturally and technically of course) because that would take a skilled developer OUT of the gambling industry, implying that you shouldn’t hire someone who used to work in gambling is a sure way to make sure that predatory industry keeps enough developers to keep shirking the poor