- a bit more of security. If I download a third-party dependency and it turns out that it executes `rm -rf /` in the background, well, only my container will result destroyed and not my personal machine. For serious malware, well, I guess it doesn't matter if I use containers (but I'm less concerned about this because being that paranoid would make my side projects feel like work)
- all the tooling gets installed in the VM/container, so my personal machine doesn't get polluted with gdb, pdb, compilers, linters, modules, packages, etc.
- I have a Mac, so I usually work on Linux VMs/containers