Hacker News new | ask | show | jobs
by dogcomplex 1310 days ago
I mean... it can generate comment summaries explaining any block of code, or an entire class. It can generate comprehensive unit tests and usability tests. It can tell you the Big-O operational complexity of any code you (or it) writes, and it can put those all together. Is that not good enough for you..?
1 comments

It can't do that. It can try to do that and it might work well in some cases. It is definitely incapable of doing that for any code you throw at it.

It also cannot generate comprehensive unit tests - it can can generate unit tests. The definition of "comprehensive" is way too subjective.

> Is that not good enough for you..?

No, it indeed isn't, but maybe that's because I actually have at least some idea of what happens behind the scenes and how the system works. From the implementation details, I can tell you for a fact that none of what you described can be done by the system in the general case - and especially not correctly. It's hit and miss depending on the input and that's basically a design limitation.

Are humans capable of doing that for any code you throw at them?