I've been running a work Linux virtual machine (or a few of them) on a MacBook. Best of both worlds really -- I don't have to worry about running Linux on the hardware or running dev tools on macOS.
As a bonus, a full system backup is a simple folder copy to a USB stick, and with that stick I can instantly continue working on any machine, Mac, Linux or Windows.