This is one reason why we have codes, developed over years, and if the inspectors are not totally idiots or on the dole, we don't have major problems here. That many people, even here, feel that if it works, it must be right, and why would I need a permit and an inspector eludes me. Many places outside much of US, Canada, and most of Europe, never heard of permits and inspections. Well, you can throw in Japan and Australia into that group where you're not likely to die from some yahoo that installed something.
In a trip to China once, in a new hotel, the chrome was peeling off the faucets, the building had shifted, and the doors needed a major push to close, and they could not keep the elevators running, not counting the cracks in the walls. Really scary. Stayed at an old hotel from maybe 100-years ago in Shanghai, and everything worked, even at that age - influence from England, way before the communists took over.
Lived in Jordan for awhile...the electrical power lines were just twisted together on the poles...arced at any hint of a wind or rain (luckily, didn't have much of that), and the voltage would swing all over the place.
Until you've seen some of this stuff, you don't appreciate what we have and just take it for granted.
Picture from India added by Terry Love