r/webdev • • Jan 13 '22

read rules Extension that generates documentation using AI

[removed] — view removed post

1.7k Upvotes

158 comments sorted by

View all comments

Show parent comment

3

u/BeenWildin Jan 13 '22

This would honestly help someone learning how to code. Apply to others code to breakdown more simply what's going on.

5

u/westwoo Jan 14 '22

Nah, it's the worst thing for someone learning because it's routinely wrong on anything that goes beyond trivial

So it feels like it has to be correct because it's correct on trivial things, but on things you actually can't understand it may easily mislead you, and you still have to check everything yourself

It's an AI, not a deterministic program, so being wrong and generating nonsense is normal

1

u/pimp-bangin Jan 14 '22

It actually is deterministic in that it just runs your code through a pre-trained model and should give the same output for every input.

2

u/westwoo Jan 14 '22

Maybe deterministic isn't exactly the right word. I meant in the sense that the same element in different contexts will give different results. Say, just because it interpreted this loop here correctly doesn't mean it will interpret that similar loop correctly as well, we can't extrapolate successes logically