Sometimes when I read about a new study, I find myself thinking “duh, of course” or “why did we need a study to prove this super obvious thing”. I have to remind myself that its always valuable to check assumptions and we can learn a lot even by studying obvious questions.
I assume you were joking but some studies have come out recently that found this is exactly what happens and for more than just programming. (sorry it was a while ago so I dont have links)