Hacker News new | ask | show | jobs
by danwee 1325 days ago
At work I use whatever my team uses. For personal/side projects I tend to use either a VM or a Docker container for dev purposes. The main reasons are:

- 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