this post was submitted on 21 Oct 2024
385 points (96.6% liked)

Programmer Humor

32285 readers
257 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
[–] [email protected] 21 points 2 days 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

[–] [email protected] 10 points 1 day ago* (last edited 1 day 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

[–] [email protected] 6 points 1 day 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