Earlier quoted context omitted.
> Everyone - everyone - is certain that the codes are all overzealous and their little thing needs an exception. Politicians get elected promising to 'get rid of the red tape'. And then an event occurs and we learn why these building codes exist. > Like workplace safety rules, they are written in the blood of the dead. Some of the rules are, but some of the rules aren't. When code calls for a maximum distance between…
The last house we lived in---a moderately expensive and well constructed house, compared to many of the others we looked at---didn't have electrical boxes behind wall- and ceiling-mounted light fixtures. The romex was just directly connected to the fixture and the fixtures were secured with drywall anchors. Disastrous?
For heavy fixtures, like large chandeliers and ceiling fans, appropriate boxes also help with bearing the weight; preventing the fixtures from pulling out of drywall and being suspended only by the wiring.