logoalt Hacker News

kelvinjps10yesterday at 4:22 PM7 repliesview on HN

If it's bad at python the most popular language what language it's good at? If you see the other comments they're basically mentioning most programming languages


Replies

MarkMarineyesterday at 4:33 PM

Pretty good at Java, the verbose language, strong type system, and strong static analysis tools that you can run on every edit combine to keep it on the tracks you define

Quothlingyesterday at 7:49 PM

Maybe I should have made it more clear, but it's pretty good if you know how to work with it. The issue is that it's usually faster to just read the documentation and write the code yourself. Depending on what you're working on of course. Like with the yaml, a LLM can write you an ingress config in a second or two from a very short prompt. It can do similar things with Python if you specify exactly how you want something and what dependencies you want.

That's being bad at programming in my opinion. You can mitigate it a lot with how you config you agents. Mine loads our tech stack. The best practices we've decided to use. The fact that I value safety first but am otherwise a fan of the YAGNI philosophy and so on. I spent a little time and build these things into my personal agent on our enterprise AI plan, and I use it a lot. I still have to watch it like a hawk, but I do think it's a great tool.

I guess you could say that your standard LLM will write better Python than I did 10 years ago, but that's not really good enough when you work on systems which can't fail. It's fine on 90% (I made this number up) of software though.

smackeyackyyesterday at 9:13 PM

One thing copilot seems to be good at for me is python. Other, older languages like VB.NET I found it struggled with.

I did find (weirdly) that it improved when running on WSL rather than windows.

However I did get it to code a script for downloading SharePoint files and even got it to reduce the dependencies down to built-ins which was a massive time saver

accrualyesterday at 5:39 PM

I've had good results with TypeScript. I use a tested project template + .md files as well as ESLint + Stylelint and each project generally turns out pretty clean.

jcateryesterday at 6:53 PM

But that was a huge assertion in itself. I’m personally having amazing results with Python in Opus 4.5, so this is very contextual.

show 1 reply
maxsilveryesterday at 4:32 PM

It's kinda okay at JS + React + Tailwind. (at least, for reasonably small / not-crazy-complex projects)

pezgrandeyesterday at 4:32 PM

Well, OP bar seems super high. Because it isn't entirely perfect in order to allow a non-dev to create apps that doesn't make them "pretty bad" imo.

show 1 reply