![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://fry.gs/pictrs/image/c6832070-8625-4688-b9e5-5d519541e092.png)
I measured my fridge. You could, in theory. Problem is that the motor in the fridge (and in power tools) is an “induction load”, meaning it draws a lot more power in a split second when starting. Inverters have to be built with that in mind, or just stronger (killowats range).
Lets say you use a variable named abcd in your function. And a variable named abcb in a for loop inside the same function. But because reasons you mistakenly use abcd inside that loop and modify the wrong variable, so that your code sometimes doesnt work properly.
It’s to prevent mistakes like that.
A similar thing is to use const when the variable is not modified.