this post was submitted on 21 Oct 2024
399 points (96.5% liked)
Programmer Humor
32472 readers
857 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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
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
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