Ask HN: Using LLMs for coding, Is there a preferred language/framework?

3 points by imranhou a day ago

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.

purple-leafy 4 hours ago

JavaScript/TypeScript probably has the most written about it online. Can’t go wrong!

boolean 13 hours ago

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.

niobe a day ago

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.