None of them are great for video editing if it's just a bit extensive, but you might be able to hook up a eGPU and dual boot to Windows for that part.
For me was a MacBook Air 2018 fine for programming, but I mostly use Sublime Text and other low CPU consuming applications.