I've been using computers since the early 90s; we got our first home computer when I was four; I've used many different operating systems.
As a professional Web developer, it took me an embarrassingly long time to figure out what those slider widgets are supposed to mean. It's still very easy to get them wrong/confused (both as a user, and as the designer/dev making the form), e.g. when the affirmative state involves a negative setting, like "Mute" (does "on" mean "muted"; or does "on" refer to the audio, which I can use this to mute?)
In a lot of the modern switches I meet with the colour choice makes it totally unclear which is on and which is off.
Ok, if it's a cookie acceptance dialog it makes sense to do dark patterns, but I've seen it in legit apps too.