For me theory is most important as a debugging tool - I write without considering it and if something sounds “off” in a bad way theory will often help me pinpoint why. It’s also useful for analysis when I’m trying to capture a certain sound. Either way it is not a composition tool and shouldn’t taught that way except for exercises to understand theory.