this post was submitted on 21 Oct 2024
348 points (96.5% liked)

Programmer Humor

32275 readers
960 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 day 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 21 hours ago* (last edited 21 hours 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 20 hours 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