You just said "people doing X, whatever that means" which strongly suggests that (at the time of writing) you either didn't know or care what X (in this case "dark patterns") means.
And which is about as funny as this other snippet you just wrote:
"Math plays no role in them beyond being able to understand an A/B test (i.e. to be able to understand math)"
Anyway the commenter's point wasn't that writing software with dark patterns requires super-heavy math (or even a math degree specifically). But how ironic it is that people with (sometimes highly prestigious) STEM degrees -- and who are in fact objectively quite smart otherwise, sometimes almost intimidatingly so -- end up at allegedly prestigious companies that we don't need to name doing ... basically mindless and socially harmful work like this.