Ask HN: Why are toggle switches replacing checkboxes? Isn’t on/off less obvious?

Every website and software seems to move to the left/right sliding thingies.I know the right side is on.But whenever I have to use them, I always have this little doubt on my mind of "did I really set it correctly?"Am I going crazy or are these things a fad with much worse usability than checkboxes?