Ask HN: Using LLMs for coding, Is there a preferred language/framework?
When build a web app or a mobile app, is there such a thing as best suited language or framework that the LLMs like Claude or gpt4o excel at, significantly better than the next best language/framework? I'm curious as to what your experience has been, haven't been able to find much discussions on this topic.
JavaScript/TypeScript probably has the most written about it online. Can’t go wrong!
Theoretically LLMs should perform better for languages/frameworks that are older and changed less frequently. Framework examples would be Django and Rails. I'd suspect they would do much worse with recent JS frameworks.
Not really, there's many many ways to skin the cat. I've more or less settled into Claude Sonnet 3.5 being my go-to for the moment. In general it does as well or better than 4o, but where it really shines is in actually following my system prompts. I have standing instructions to essentially be minimalistic but Claude is much less 'forgetful' and arguably more on point with answers. Both need new conversations started regularly as token size gets too large. I do not find o1 preview any better at code for my purposes, although it is waaay better at math. There's no reason much smaller, even local models can't answer many questions but then you'd be model switching a lot. All of them are still tools that need practice and a developing intuition to get the best out of.
What tools do you use to get this done? Is it simply chatting into the portal or something like cursor?
Using the APIs of various models and this tool https://llm.datasette.io/en/stable/