News for hackers. Stuff that matters.
Re:Using AI for Coding: My Journey with Cline and Large Lang... by bandrami on Monday January 27, 2025 @11:33PM (#42848860)
How much of this is a cage we've built for ourselves? When I made my first website in 1998 even if we had had LLMs asking one how to change the color of a button would be ludicrous because I'd change an HTML attribute (did CSS exist back then? don't remember) either in a static file or in a perl script. That's it. And the modern "throw a hundred and seven frameworks at it" stack doesn't really do anything that simple CGI CRUD app couldn't do.
Re:Using AI for Coding: My Journey with Cline and Large Lang... by DecoySalamander on Tuesday January 28, 2025 @06:18AM (#42851127)
What has changed over the years is our expectations and requirements. Sure, you can skip "all the noise" and slap an attribute on your button, but then you'll have to track down another 20 buttons in your codebase that need a color update. You can be smart with your approaches, but at a certain project size and complexity, frameworks are unavoidable. The only choice you really have is to learn an established one or handcraft something new for every thing you make.
Re:Using AI for Coding: My Journey with Cline and Large Lang... by skydhash on Tuesday January 28, 2025 @08:53AM (#42852285)
That’s the problem template languages solve. That button could be a partial, and you include it where you want a button. And with grep, you can track it down.
Re:Using AI for Coding: My Journey with Cline and Large Lang... by qup on Tuesday January 28, 2025 @09:24AM (#42852611)
Yes, and then you solve a dozen problems like this, bundle it up, and you've created a framework.
Re:Using AI for Coding: My Journey with Cline and Large Lang... by skydhash on Tuesday January 28, 2025 @12:16PM (#42854944)
The problem with frameworks is with feature/need fit. Sometimes you need something simple and using a framework results in a big percentage of dead code. Or you extend it enough that there’s no longer any benefits.
Re:Using AI for Coding: My Journey with Cline and Large Lang... by bandrami on Tuesday January 28, 2025 @03:01PM (#42857217)
One of Allaire’s selling points for CFML was that their IDE would track all the matching partials in a project if you edited one