If your development environment/tooling/workflow does not gain any real advantage from more CPU cores. Also your data must fit in the 16GB of RAM as offloading any workload to disk will kill the performance and you cannot add more.
The M1 has excellent single core performance so any task that is mainly single threaded will do really well on it.