4 ms·
> ChatGPT is a junior programmer who knows everything and can do shallow things (like this) instantly. But how do I know that the code doesn't do something mal
by paganel 3y ago
> ChatGPT is a junior programmer who knows everything and can do shallow things (like this) instantly.
But how do I know that the code doesn't do something malicious? As in, calling a .ru or .cn flight tracker (and thus giving it my geo position, and the geo-positions of everyone using the app I had designed via ChatGPT) instead of a genuine, non-adversarial one?
You could say: "it's using opensky-network.org, not a .ru nor a .cn domain, it's right there int he code, it's genuine" which would be correct on the surface, but as someone who has had no connection to this space how do I know who opensky-network.org is without first going on their website and checking who they are? And thus increasing my development time and approaching said development time to a real-life solution.
And I only gave one simple adversarial scenario, one that can be easily checked and debunked, but there are other many scenarios more convoluted than that.
- javajosh 3y agoThis is precisely what a senior does for a junior: review their code. Not just for it's ability to run, but what resources it uses, which resources can be trusted, and what other resources are available. That's what makes the experience novel: it's a junior that knows all the languages, all the services, all the idioms, but who has zero judgement about whether to use them.