Amazing what people will do, well, Ed already said it!
Out of curiosity, do you honestly think it will burn down anytime soon? Maybe take a life by means of electrocution or arc flash? Have you personally come across a similar installation that has been in place for decades without indecent? I know I do regularly.
While its true that a quick trip to the hardware store with the correct information in mind would have yielded a superior and code compliant installation, I think at times we might be forgetting exactly where the roots of everything we take for granted came from. Seat of the pants innovation and engineering. We seem to blatantly disrespect the very spirit that lead to the development of not only our trade but all things technical in a routine manner here on this board. We all sound like lobbyists for major manufacturers or trade organizations some times.
Would you see that spirit killed in the name of "safety"?
Safety is an illusion that one chases when they feel insecure or one sells when they perceive a market. Not that things can't be made safer but the trend today is disturbing. Its like a giant boa constrictor that slowly, code cycle by code cycle is squeezing the life out of new construction, all phases of it. People don't want to pay for BS and we are the ones who will suffer when they have had enough.
I apologize for the rant and I do believe that safe installations are important but I see a lot of reactions that I think would be comparable to the reaction Galileo received when he proposed that the Sun was center of the solar system.
And no, I wouldn't have wired that way.