Live data from Hacker News

If AI writes your code, why use Python?

medium.com

381–390 of 1001 posts

Re: If AI writes your code, why use Python?

#381

I haven't read the article (because I hate Medium) but I reckon the biggest reason why LLM-assisted projects use Python is because there is a metric buttload of python code on the web to be slurped up and used as training fodder.

Now I'm curious: is a metric buttload much larger than an imperial one?

Re: If AI writes your code, why use Python?

#385

Earlier quoted context omitted.

That's a good idea. Would you rather see Lisp or Scala? Any interest in Prolog? We are trying to be selective to keep the data concentrated, but we will eventually add a couple more, most likely to sample different programming paradigms.

Just last night I was going down the rabbit hole of "what's the best programming language to use for vibe coding." I came to a short list of: a) Typed Racket b) OCaml c) Julia I would love to see those three added to your benchmarks. And Mistral Medium 3.5 added to the LLM list, please.

Thanks for the recs, we will look into adding some of these, maybe OCaml for variety. I'm not familiar with Racket.

Mistral Medium 3.5 is on there, but you will have to scroll down pretty far to find it (does not perform well): https://gertlabs.com/rankings?mode=oneshot_coding

Re: If AI writes your code, why use Python?

#386

Two things to consider: - When reading generated code, which programming language would be the most readable to you? - Which programming language guides AI to write correct code using language features or guardrails? There you will find your answer.

additionally (but related), what programming language is the easiest most efficent for you to reason about and feed back to AI in English (or your native language)

Re: If AI writes your code, why use Python?

#387

It's strange to me that this blog post was written in English. If AI is available, why aren't we all communicating in Lojban? [0] It's an obviously superior language. What does it matter that many people already communicate in English and much of computing depends on that language? AI doesn't care about that. Plus, if you ever need to edit Lojban without AI, you should be able to pick it up in a few weeks, right? [0]…

Bona ideo! Ni ĉiuj komencu komuniki en Esperanto en ĉi tiu forumo.

> Bona ideo!

I don't really know Esperanto but did they make a language from scratch with gender inconsistencies like in the already existing ones? Unless the a and o at the end of both words don't express gender like in Latin derived languages.

Re: If AI writes your code, why use Python?

#390

Why Python? Because I have written it for 10+ years, know how to debug it and I can smell it within 10 seconds of the agent writing code if it does something that is going to end in a huge foot gun. With any other language, not so much; I would need to relearn a lot. So I am going to be preferring python; where even with the speed that AI crams out code, I still feel somewhat in control. If I did this with Go or Rust…

I started writing rust in this agentic era and all my prior experience with other languages still carries over and helps me spot code smell and bad architecture.

I had to learn the memory safety bits because I had no idea “what’s right” but rest of it was smooth.

Syntax fades away, you get to focus on higher level stuff and end up exploring new pathways; give it a try, you might be pleasantly surprised how much of your experience is transferable.

Post reply on HN