News for hackers. Stuff that matters.
Re:Teaching Programming in the Age of ChatGPT by shortcake27 on Thursday July 20, 2023 @04:26AM (#36798072)
As an SWE, my problem isn’t boilerplate. It’s architecture and orchestration. I cancelled my Copilot subscription because it just doesn’t help with this. Let alone ChatGPT which has zero context about the application.

I would like an AI to tell me if I’m reinventing the wheel or if something similar can be abstracted. Whether what I’m doing aligns with existing patterns in the codebase. How the application as a whole could be refactored to improve maintainability, performance, or both.

This can all already be done by a human with experience and context, so it must be possible with AI. This will be the biggest game changer for me.

Re:Teaching Programming in the Age of ChatGPT by slashdev on Thursday July 20, 2023 @08:13AM (#36799382)
I can’t believe you canceled copilot, at $10 a month it pays for itself every single day for me. I’m just baffled how it can be so useful for me and not useful for you.
Re:Teaching Programming in the Age of ChatGPT by __loam on Thursday July 20, 2023 @01:36PM (#36803897)
Once you get over the novelty it gets pretty annoying.
Re:Teaching Programming in the Age of ChatGPT by slashdev on Friday July 21, 2023 @08:24AM (#36812992)
I’ve been using it for a full year now, that’s just not been my experience.
Re:Teaching Programming in the Age of ChatGPT by TillE on Thursday July 20, 2023 @06:36PM (#36807700)
I've found it extremely similar to IntelliCode for C#, which is not very impressive. Surprisingly I've found it does a better job of writing accurate comments than generating useful code.

Maybe it's good for some languages, or for code that's doing the exact stuff a hundred people have already written. Copilot X certainly looks cool, but who knows when that'll be ready.

Re:Teaching Programming in the Age of ChatGPT by slashdev on Friday July 21, 2023 @08:19AM (#36812951)
I use it the other way around. I write the comments first and then I find it can often fill in the code.

I find it especially helpful with SQL queries, and with boilerplate type code. It’s also very helpful when I’d need to lookup the usage of various methods. I just start with the comments and most of the time it saves me the context switch to the browser to lookup the usage.