An electrical code is a set of regulations for electrical wiring.The intention of an electrical code is to provide standards to ensure electrical wiring systems that are safe and unlikely to produce either electric shock or fires.
Ways in which electrical codes ensure safety include ways to prevent (or mitigate) short circuits, ground faults, and overheating from inadequate current-carrying capacity (ampacity).
Appropriately rated fuses or circuit breakers are used to interrupt a circuit loop whose ampacity is exceeded to avoid overheating of wires or other fixtures.
Commonly known cases in which the electrician while performing their work was seriously injured and even died as a result of contact with electricity.
On the other hand, many electricians have daily contact with electrical installations retains fewer and fewer safety work and then can easily lead to tragedy.
Wiring safety codes are intended to protect people and property from electrical shock and fire hazards. Regulations may be established by city, county, provincial/state or national legislation, usually by adopting a model code (with or without local amendments) produced by a technical standards-setting organisation, or by a national standard electrical code. Electrical codes arose in the 1880s with the commercial introduction of electrical power.Many conflicting standards existed for the selection of wire sizes and other design rules for electrical installations. The first electrical codes in the United States originated in New York in 1881 to regulate installations of electric lighting.Since 1897 the US National Fire Protection Association, a private non-profit association formed by insurance companies, has published the National Electrical Code (NEC).
States, counties or cities often include the NEC in their local building codes by reference along with local differences.The NEC is modified every three years. It is a consensus code considering suggestions from interested parties.The proposals are studied by committees of engineers, tradesmen, manufacturer representatives, fire fighters and other invitees.Źródło: https://en.wikipedia.org/wiki/Electrical_wiring.