I don't understand it either.
The main part of Arduino is the hardware abstraction library. Especially for the standard stuff, like iwc, spi, ... this hal makes your code portable between different microcontrollers!
The alternative to Arduino hal is to use the vendor libraries. By doing that, you lock yourself in to the specific controller you are using right now. Also, the quality of the official sdks often enough is joke.
The next thing is the library ecosystem. A device driver library, i.e. to use a certain sensor, from the Arduino evosystem will work on every microcontroller with Arduino support, which is a very very long list.
The arguments against Arduino?
It's not _professional_.
Yeah, try the vendor library, sdk and ide and tell me that's better ...
You are relying on code that _somr guy in the internet_ wrote.
Jup. That's how the whole industry works. If your are using windows, you are using code some guy at the internet wrote. Did you ever get recourse from MS after you got a BSOD?
Relying on code from other people is how we are able to get anything done. If you wrote everything from scratch, you couldn't ever ship anything.
And hey, you got that code from that guy on the internet for free. So do the world and yourself a favour, review the code and upstream any improvements you find!
The IDE sucks.
So does the vendor IDE and nobody is using that stuff anyway. Use platformio.org
There is many situations where Arduino is a valid option.