News for hackers. Stuff that matters.
Re:Don't DRY Your Code Prematurely by ugh123 on Thursday May 30, 2024 @01:19PM (#40526247)
> You need a system of code management (documentation, diagram, IDE, tests, etc), to explain in a human-friendly way what the hell is going on

I think this is where AI could be helpful in explaining and inspecting large codebases, as an assist to a developer.

Re:Don't DRY Your Code Prematurely by rohansingh on Thursday May 30, 2024 @03:35PM (#40527751)
Maybe but hallucinations become a real problem here. Even with publicly available API's that are just slightly off the beaten path, I've gotten full-on hallucinations that have derailed me and wasted time.
Re:Don't DRY Your Code Prematurely by chipdart on Friday May 31, 2024 @01:53AM (#40531915)
> I think this is where AI could be helpful in explaining and inspecting large codebases, as an assist to a developer.

That's a great point. Everyone lauds the benefits of chatgpt/copilot in generating new code, but I'm starting to learn that the places they might shine is onboarding onto projects and preliminary code reviews. What LlMs excel at is context, and they should excel in activities where context-awareness is key.