Agree. The way ChatGPT explains each part of a code, it will help begineers a lot.
ChatGPT hallucinates a lot too.
It sometimes gives code with:
a. Methods and libraries which are non existent ( when asked for source it might even give source links which look very authentic but are non existent )
b. Functions/Methods which are from another language ( it may insert code which is java, vbnet, lua and swift)
c. Sub parameters which have either more or less elements than actual
d. sub parameter ordering is different from actual
e. usage which is not correct ( like the use of NOT operator or using ElseIF together )
It seems to learn but continues to make same mistakes repeatedly.
So in a very practical sense, it would make more sense for seasoned programmers who can spot and correct such issues than beginners who will be scratching their head a lot more with it.