6 ms·
What is the difference between them? Both seems like quite trivial implementations?
by havkom 1y ago
What is the difference between them? Both seems like quite trivial implementations?
- elliotec 1y agoYeah these are both extremely basic great use cases for LLM-assisted programming. There’s no difference, I wonder what the OP thinks that is.
- klabb3 1y agoDisagree. There is almost no decision making in converting to use i18n APIs that already have example use cases elsewhere. Building a frontend involves many decisions, such as picking a language, build system, dependencies, etc. I’m sure the LLM would finish the task, but it could make many suboptimal decisions along the way. In my experience it also does make very different decisions from what I would have made.
- int_19h 1y agoThe AI will pick the most common technologies used for this purpose, which is both "good enough" and also what people generally do at scale (for this exact reason).
- klabb3 1y agoThis was the promise of no-code. ”All apps are crud anyway”, ”just build for common use cases” etc. This didn’t turn out to be true as often as predicted. If averaging people’s previous decisions was truly a fruitful way, we’d have seen much stronger results of that before AI.
- int_19h 1y agoOn the contrary, it turned out to be exactly as common as predicted, which is why you see so many people going "this AI assistant thing makes me 100% more productive". It's precisely those tasks. And they are handled in precisely this way by humans, too - throw whatever the popular stack of the day is at them. And sure, it results in inefficiencies and crappy code, but that code is "good enough" wrt what the customer wants it to do.
- Aperocky 1y agotrivial doesn't mean the AI will get it right. A trivial request can be to move an elephant into a fridge. Simple concept right? Except AI will probably destroy both the elephant and the fridge and order 20 more fridge of all sizes and elephants for testing in the mean time (if you're on MCP). Before asking you that if you mean an cold storage facility, or if it is actually a good idea in the first place
- ludwik 1y agoOkay, but which one of the two is the elephant-destroying one?
- Aperocky 1y agoprobably both but the AI won't tell you until it's destroyed many elephants.
- bigfatkitten 1y agoIt won’t tell you at all, until you tell it. And then it’ll say “you’re absolutely right, doing this will destroy the fridge and the elephant”.
- Aperocky 1y agoExcept "I" won't, and there will be a lot of proverbial elephants in fridges at all levels of project, in the design, in security etc.
- logicchains 1y agoBuilding even a small a web frontend involves a huge number of design decisions, and doing it well requires a detailed understanding of the user and their use-cases, while internationalisation is a relatively mechanical task.
- klabb3 1y agoDamn I didn’t see your comment and wrote basically the same thing. Great minds think alike I guess. Oh well..
- skydhash 1y agoAnd that’s kind of decision making is what’s important. More often than not, you ask someone to explain their decision making in building a feature, and what you get is “I don’t know really”. And the truth is that they have externalized their thinking.
- twodave 1y agoThey’re inherently very different activities. Refactoring a file assumes you’ve made a ton of choices already and are just following a pattern (something LLMs are actually great at). Building a front-end from nothing requires a lot of thought, and rather than ask questions the LLM will just give you some naive version of what you asked for, disregarding all of those tough choices.