Is PWM the new interrupt?

For years people have been trying to use interrupts to try to fix flawed designs, with the expected (to people who know how to use interrupts) result of making things worse.

It seems to me that lately the new "magic bullet" is PWM. This could be because of the misleading name of analogWrite() for the interface. Yes it gives the illusion of analog control for LED dimming and speed control for some types of motors. However it does not output an analog voltage without heavy filtering and slow response. For fast analog output you need to use a real DAC.

Honestly, I think the root of the problem is that many (most?) people who come here have a flawed mental model of programming. They may "get" individual concepts, but they have no knowledge of how they interact. They see something that looks like it might solve the problem they have, so they rush to it. There's no analysis of what might be causing their program to fail, just chasing after anything that looks like a solution.

"Magic bullet" is exactly the right term to describe it.