this post was submitted on 21 Oct 2024
399 points (96.9% liked)

Programmer Humor

32588 readers
959 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] CodingCarpenter@lemm.ee 21 points 1 month ago (1 children)

Ai is great for finding small flaws or reciting documentation in a more succinct way. But writing new code and functions? That's a fools errand hoping it works out

[–] flashgnash@lemm.ee 10 points 1 month ago* (last edited 1 month ago) (1 children)

I use it for writing functions and snippets all the time, at least in python and rust as long as you describe what you want it to do properly it works great

Example I used recently: "Please generate me a rust function that will take a u32 user id and return a unique RGB colour"

Generated the function, I plugged it in and it worked perfectly first time

[–] Flyberius@hexbear.net 6 points 1 month ago

To be honest yes. That is the sort of thing that sounds great. I have a little project I'm about to start so I'll take a look