News for hackers. Stuff that matters.
Re:AI Makes Tech Debt More Expensive by marcosdumay on Thursday November 14, 2024 @01:56PM (#42139787)
No, you shouldn't restructure your software into highly-repetitive noise so that a dumb computer can guess what comes next.
Re:AI Makes Tech Debt More Expensive by slt2021 on Thursday November 14, 2024 @03:57PM (#42141132)
I am proponent of Clean and Simple architecture that follows standard patterns.

because they are easier to maintain, there should be no clever tricks or arch.

all software arch should be boring and simple, with as few tricks as possible, unless it is absolutely warranted

Re:AI Makes Tech Debt More Expensive by skydhash on Thursday November 14, 2024 @06:52PM (#42142588)
Simplicity is hard. And difficulty is what almost everyone using LLMs is trying to avoid. More code breed complexity.

I read somewhere that 1/6 of the time should be allocated to refactoring (every 6th cycle). I wonder how that should be done with LLMs.

Re:AI Makes Tech Debt More Expensive by valenterry on Thursday November 14, 2024 @08:21PM (#42143084)
Exactly that. LLMs generate a lot of simple and dumb code fast. Then you need to refactor it and you can't because LLMs are still very bad at that. They can only refactor locally with a very limited scope, not globally.

Good luck to anyone having to maintain legacy LLM-generated codebases in the future, I won't.

Re:AI Makes Tech Debt More Expensive by dartos on Friday November 15, 2024 @08:42AM (#42146835)
I’ve noticed LLMs quickly turn to pulling in dependencies and making complicated code
Re:AI Makes Tech Debt More Expensive by skydhash on Friday November 15, 2024 @04:39PM (#42151443)
I'm sure they do great for scripts and other stuff. But the few times I tried, they always go for the most complicated solutions. I prefer my scripts to grow organically. Why automate something if I don't even know how it's done in the first place? (Unless someone else is maintaining the solution)
Re:AI Makes Tech Debt More Expensive by lmm on Friday November 15, 2024 @12:30AM (#42144194)
A pattern is a structured way of working around a language deficiency. Good code does not need patterns or architecture, it expresses the essence of the actual business problem and no more. Such software is also significantly easier to maintain if you measure maintainability against how much functionality the software implements rather than how many lines of code it is. Unfortunately the latter is very common, and there is probably a bright future in using LLMs to edit masses of LLM-copy-pasted code as a poor man's substitute for doing it right.