Otherwise you'll be at the mercy of whatever autogenerated code that you happen to be using, since you literally don't have the skill to check if it's actually working.
The other alternative is to work with a programmer.
Our 'salary' was ~$24k/year. So, just enough to stay alive and for a beer on Fridays.
If my co-researcher had the coding abilities he needed, he would have left.
And, apologies if I wasn't clear enough here, we were grad students.
My co-researcher had never taken calculus, let alone any coding. Trying to get him up to speed with all the various skills he'd missed out on would have taken another 4 years of full time 'remedial' education. Of course, there was no time for that, let alone budget.
I totally agree with you though. And that's why I really think that AI would have helped out a lot. It's not perfect in any way, but your velocity through all the pitfalls of learning is a lot faster with the AI helping out.