this post was submitted on 25 Jul 2024
1009 points (97.5% liked)
Technology
60052 readers
3243 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I asked it to spot a typo in my code, it worked but it rewrote my classes for each function that called them
I gave it a fair shake after my team members were raving about it saving time last year, I tried a SFTP function and some Terraform modules and man both of them just didn't work. it did however do a really solid job of explaining some data operation functions I wrote, which I was really happy to see. I do try to add a detail block to my functions and be explicit with typing where appropriate so that probably helped some but yeah, was actually impressed by that. For generation though, maybe it's better now, but I still prefer to pull up the documentation as I spent more time debugging the crap it gave me than piecing together myself.
I'd use a llm tool for interactive documentation and reverse engineering aids though, I personally think that's where it shines, otherwise I'm not sold on the "gen ai will somehow fix all your problems" hype train.
I think the best current use case for AI when it comes to coding is autocomplete.
I hate coding without Github Copilot now. You're still in full control of what you're building, the AI just autocompletes the menial shit you've written thousands of times already.
When it comes to full applications/projects, AI still has some way to go.
I can get that for sure, I did see a client using it for debugging which seemed interesting as well, made an attempt to narrow down where the error occurred and what actually caused it.
I'll do that too! In the actual code you can just write something like
and it'll auto complete an answer based on the code. It's not always 100% on point, but it usually leads you in the right direction.