Separate environment for personal use and development under macOS

How can I separate my professional use of the Apple computer from personal use?

I'm about to get a new Apple computer soon. I am a developer (actually .NET developer ^ ___ ^) and I would like to have my personal and professional use separated on the same machine.

I know there is the possibility of using Bootcamp to install Windows, probably the cleanest approach, but I'm learning .NET Core and other frameworks available in macOS that I like to work with.

Which approach would try to keep both the personal use and that of the developers?