(For those unaware of the difference, a MIDI keyboard doesn't itself produce any sound, and instead produces digital MIDI notes which are received and played in [almost] real-time by a software instrument on your computer, such as a software synth running in a DAW like GarageBand or Ableton Live. An electronic keyboard can directly produce sound through headphones or speakers when connected to a power source. Electronic keyboards may support MIDI, as well. MIDI keyboards are generally much cheaper and lighter and, IMO, are just as good or better, with the only requirement being that you have to connect them to a computer when using them. They generally support USB.)
Also, what if there isn't anything in particular "you've decided to do"? What if you've decided to just have fun playing with instruments and making music? In that case, all of the options available make it even more fun. I learned way more about music by choosing as my first instrument plugin a weird, crazy synth with tons of options and possibilities (Synplant: https://soniccharge.com/synplant) rather than something more basic.
You have the best shot of learning something if you stick with it due to interest and motivation, and that definitely kept me a lot more interested and motivated than if I had used a simple piano VST, or a physical instrument. Kind of like how many people who start off with rote exercises in programming languages they consider boring tend to drop it and never learn anything, while people who start off with more dynamic languages are more likely to stick with it.
The computer can be an entry point for one's journey just the same as an acoustic guitar or piano. You can use that as your platform to learn theory as well as (if not better than) a piano or guitar.
But to get elitist for a moment, there's no better way to learn music aside from private lessons. That's true of any instrument, including the DAW.
I think a lot of music produced on a qwerty keyboard eschews huge amount of music theory just because it's produced that way.
My perspective was from the other way.. trying to learn it all playing with DAWs and other tools (admittedly a long time ago) and failing. Nothing about these tools will teach you why certain notes sound good together or why certain chords sound good together, etc..
For sure lots of electronic music just tries to skip all that completely though, or follows super strict genre rules where if you follow them it all comes out OK.
But we mostly agree though, the lessons are what make the difference. When I tried to learn this though there was zero accessibility of local teachers who would have taught through a DAW or something like that though. Finding a piano or guitar teacher was something available everywhere.
It's probably worth it to spend a little bit of time learning the fundamentals, but like with programming, you can self-teach pretty well by just learning the absolute basics and then developing expertise through experimentation, trial-and-error, and pursuing what interests you.
Just as you don't need a 4 year degree to become a competent programmer, you don't need to deliberately study and practice music theory or classical technique for months/years to become a competent musician. In both cases, you can learn and practice by doing, if that's what you prefer. You can take a "hacker" approach for both domains.
I also don't really think there's any software that "handholds" or "guides" you in the way you're describing. Can you give an example? If it's a drum machine, you still have to program the patterns yourself, for example. Your DAW won't structure your tracks for you.
We could talk about Baroque vs Classical and that switch over into what the standards were. Or how hip-hop turned from a musical expression of life (and certainly not because of living up to some musical standard) into something that is right at the forefront of music today!
I feel like a corollary would be youtube vs movie studios. Sure, one is more expensive than the others, has standards, etc. But sometimes those things don't mean much, sometimes it's just about the story, the music, the authenticity of the feelings.
For modern genres, music knowledge can be built by listening and DJing. It's also the classic path to become a producer.
If you learn how to mix, you and can then transport this knowledge to production. Not only do you know what to produce as a beginner (fill holes in your own mixes), but you also know how it should sound because knowing to mix implies that you know how to mix in key, also important when you transpose samples or patch synths.
Serato/Serato Studio or Ableton combine both, so you could learn how to make DJ mixes in those DAWs before you move on into beat production.
seems similar to coding - some people do a short bootcamp and start to produce, while others are kind of helpless even with a masters degree in CS
Because I was in computers first I was super attracted to this stuff and wanted to make electronic music, even to the point of taking a college elective on it back in the late 90s.
But it's all useless without knowing about chords & scales and harmonies and all that stuff unless you're just going to follow recipes for creating EDM from the web. You need the physical skills to play a keyboard or guitar or anything really to be able to input data too.
The first piece of gear to get to start making some serious progress is something like a very simple electronic keyboard/piano, a dirt cheap used acoustic piano (free a lot of the time now) or a simple acoustic guitar.
Strip away all the options, learn then start exploring the electronic options.
Everyone loves to talk about someone like Moby but usually doesn't mention he could sing, play piano, play guitar, and play bass before he started putting samples together. Lots of musical knowledge before adding the electronics. (His book is great by the way!)