The only way to avoid dark patterns in software these days is to use Linux.
As are HN (1.something decades) and Notepad.exes that aren’t as hot garbage as the newest one. X still works fine and IME is only improved by the new things (eg. sxmo, the smartphone UI I’m typing this in) still being built on its well settled, stable foundation.
We're talking about dark patterns, which are anti-consumer and anti-user design decisions to pursue profit over user experience. Like stuffing candy crush into windows by default or making it incredibly difficult to switch default browser, or berating the user with popups when he tries to download Firefox.