Earlier quoted context omitted.
Why use Go when you can use Rust?
Doesn't Rust have long compile times? Does Go suffer from the same problem?
If AI writes your code, why use Python?
441–450 of 1001 posts
Re: If AI writes your code, why use Python?
#442Earlier quoted context omitted.
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?
#443If the code were written in Java, I'd have more to read. If it were in JavaScript, I'd be slower following the calls (although the type system might catch issues more quickly - not a problem in my experience). I think Python is a good choice.
Re: If AI writes your code, why use Python?
#444Re: If AI writes your code, why use Python?
#445Really controversial but my honest opinion: That's because programming languages, and its natural language counterpart, too, are nowadays increasing and more likely in becoming a political tool, rather than itself being a tech tool. I observed this through observation of the attacks to Rust due to the huge presence of LGBT people. Now while I'm pretty much straight myself, I don't reject LGBT people and don't want to…
> I observed this through observation of the attacks to Rust due to the huge presence of LGBT people. Never seen that before, but then again I'm not in the rust community. > don't want to partake in identity politics. If you write Rust, or let AI write rust, do you have to partake in the identity politics? The internet is full of memes and jokes on how shitty Java and Java Script. Yet it came never up at work. Never…
As a straight guy, number of times people attacked Rust for catering to "that crowd", "DEI-language", and "woke mind-virus" has been pretty huge on Xitter.
Which is always hilarious to me, since language itself doesn't have anything offensive.
> If you write Rust, or let AI write rust, do you have to partake in the identity politics?
Answer is of course no. However by choosing to write it you'll be perceived as anti-Zig, anti-C, pro-woke, etc.
Re: If AI writes your code, why use Python?
#446Re: If AI writes your code, why use Python?
#447Re: If AI writes your code, why use Python?
#448Bullshit article. AI is not meant to be a black box, you just spit at it and it'll generate you a whole app and you don't even understand a single line. That WILL eventually fail. There was an article here some time ago where someone described it pretty well "use AI as autocomplete on steroids". Therefore, use any language you can actually debug well and know well and use AI as a tool, not as your replacement. And do…
So we are going to pretend this isn't happening everywhere now? And that it isn't failing on daily basis? I'm sorry but I've been saying this for years now and is my main arguments for not using slop machines: no one writes the code and no one reads the code. I can name dozens of fortune 500 companies where "tokens used" is used as a performance metric for developers, as in, more tokens = better performance, all code is written by slop machines and all reviews are made by slop machines, developers simply add "this is intended" in code reviews.
Re: If AI writes your code, why use Python?
#449Earlier quoted context omitted.
Surprisingly, LLMs are actually much worse at reasoning in Python than other common programming languages for agentic coding tasks. Data here: https://gertlabs.com/rankings?mode=agentic_coding
What would comparing rates across languages tell in the context of this benchmark? Are the tasks the same or robustly difficulty-normalized across the languages? Also somehow the 2 language comparison graphs (avg percentile and success rate) rank Python in dramatically different positions, with Python outranking Rust and Java in the success rate. What does the avg percentile mean in this context?
Percentile compares only the submissions that didn't hard-fail. So they are a bit different, and we incorporate them both into the combined score.
Re: If AI writes your code, why use Python?
#450If you're working with an agent to write code, you want it in the most quickly-readable format possible. That's generally Python, although YMMV. I want to be able to skim and zoom in on parts of code that might need attention. This makes it easy. If the code were written in Java, I'd have more to read. If it were in JavaScript, I'd be slower following the calls (although the type system might catch issues more quickl…
That is not really the downside people think it is. Java is a remarkably easy language to read and understand.