Usually what kills productivity for me are technical issues - pains getting systems to run locally, builds/tests taking forever, poor docs, years of devs and security teams adding layers of bullshit to wade through. Writing a line of code can sometimes take a day of getting through these problems. One big U.S. FAANG-like company I worked for was just 5 weeks of that so I quit. Any project should be setup & running with one or two commands, with a fast feedback loop. Remove all the kruft and you'll have productive developers.