I think it's more related to the fact that the entry level for programming is much lower than for electronics.
For programming, a crashed program is like "so what?"
Plus, the immediate reward of writing "Hello World" on a screen gets dopamine flowing and brings a feeling of being an Expert Programmer.
For electronics, it costs money (burned components, wrecked PCB etc.) which leads to more planning and contemplation before action. It's real manual work, not just tapping a keyboard.
That being said, I see no quality difference between professional SWE and EE postings.
The age issue becomes more apparent when you look at spelling, punctuation and capitalization, I attribute that to smartphones and odd autocorrects. Sitting in a bar and posting technical questions is apparently the norm today. Who cares if it's understandable? Important is: "Hey, I'm on the Interwebs!"
Signed: "Grumpy Old Man."