Many people who have successfully understood Maxwell's equations but were unable to grasp coding would beg to differ.
Over and over again on this board I see people underestimating how demonstrably difficult the concepts are for many people. As my evidence, I again cite the dropout rate of CS1 classes.
You misunderstand me. I don't mean that understanding coding is not as difficult as understanding electricity, I mean that most people should have an understanding of basic coding at about the same level as they understand basic electricity (ie. they know how to do some things like plug things together, can generally avoid starting fires, being electrocuted, blowing fuses, and so on). IOW, I am lowering the bar.
I think people also underestimate just how soul-crushingly dull coding might be for many people. It's easy to assume that everyone will enjoy what you enjoy, but for some people this stuff is just extremely difficult, extremely boring, or both.
Over and over again on this board I see people underestimating how demonstrably difficult the concepts are for many people. As my evidence, I again cite the dropout rate of CS1 classes.