I'm relatively new to coding and I'm setting up my local development environment. I've decided to start with VS Code and I'm off to somewhat of a rocky start. It's all a bit confusing. Whilst looking at the VS Code website to figure out how to start coding my first Python program, it was written that I had to "Start VS Code in a project (workspace) folder," by inputting the following code into the terminal:
mkdir hello
cd hello
code .
It does work, but is it necessary to do this to start coding an actual program? If so, why? And what does the code above actually mean and do? Basically, I'm asking if you could start coding outside of a folder.