I was not aware of this and bought a Samsung washer and dryer set a few years ago. Noticed one day that the dryer would keep spinning after the cycle ended. Then noticed that it started spinning before I turned the dryer on. I quickly realized that it now spins any time the door is shut, even when off.
Looked online and this is apparently a known mechanical bug in several models due to cheap components. So I can either unplug it or keep the door open anytime it's not in use. Never buying another Samsung either.
For those curious about the real answer, this is called compiler bootstrapping. If you want to write the first C compiler for a computer architecture you first write a very small compiler in machine code that can handle a very small subset of C. Just the most basic features. Then you use that to write a compiler in that simplified C that can handle more of the features. Do this a couple more times and you've got a C compiler written in C.