When chatGPT talks about code it actually provides good context as to what the codes does and why. You are right that new devs with low information run risk, but this is lower with chatGPT than traditional google search or stackover