Somebody (I believe in this forum?) said that STM32 targets professionals whereas Arduino targets enthusiasts. That has been my experience. See the other thread for details, but basically the STM32 development environment is extremely confusing, its support for Linux is a joke, and if you take two projects and try to merge them (for example because you want to add USB-MIDI), it's a nightmare and nothing works out of the box. It reminds me of MS Visual Studio of 20 years ago: I went onsite to a customer location (software for a satellite), and I literally spent three hours debugging an issue that was a checkbox to click in some menu. That file was stored as binary, so our version control (SVN at the time) told me that it had changed, but it did not tell me what had changed. Such is STM32 IDE: at each fart, a huge number of files change and it's extremely complicated to track what and why. If one a professional doing that development day in and day out, I'm sure they can learn the quirks and live with it, especially because the choice of the particular hardware is what drives the choice. Not so much an enthusiast on a time constrain, and with more flexible budget: I am happy to spend $20 more on the hardware if the software works more intuitively, hardly so if one is designing (say) a fridge to be built in millions of copies.
ArduinoIDE for what I have tried so far it's much more streamlined. It works out of the box without problems (assuming one did not try on a too old/wimpy hardware, ask me how I know it 🤣 ). Merging two projects seem straightforward from the instructions. I have not tried, but I will shortly by including USB-MIDI in the project and report back.
Hope this answers your question, let me know if you would like to know more.