Word press is a what you see is what you get WYSIWYG its for people who dont know how to code its pleasant to work with with many tools and plugins.
Me personally it really helps with getting a website going quickly and dealing with forms and especially SEO however most other developers tell me that it is a pain to deal with the code below the pretty interface.
Visual Studio Code is what most developers should want and is a general IDE for most things. You can still make website quickly and you have more control yourself. There is more tools you need to learn like Git, static site generators such as Gatsby and so on, but if you want to be a real web developer this is the obvious choice.
Haha well i did choose wordpress because of speed, and many plugins.
You also write your own plugins and intergrate. Expecially it youre designing for someone or for pay.
For personal use you can use visual studio
Mostly of the people here is saying that wordpress is for people who dont know code. I do wordpress in depth like making own plugins and templates. Wordpress is powerfull CMS and Blogging if you want to work fast, and finish a site within a day then go for wordpress. But still it depends on what kind of website you are doing