Starting every coding task with a prompt

a year ago by Drew to c/programmingcirclejerk

Darkard 95 points a year ago

One of the worst things about coding is having to pick apart someone else broken code.

So why the fuck would I want to accelerate my work to THAT point?

You know why designers and PMs like AI code? Because they don't know what the fuck they are doing, they dont have to try and stitch that junk into 15 years of legacy code and they dont have to debug that shit.

"Actually Darkard, I ran this request into GPT and it came back with this? It's only short and most of it has already been done here, so I think your story point estimate is wrong?"

Fuuuuuck oooooooffffffff

path: 0 17483791, hotness: undefined, score: 95, children: 15
okwhateverdude 33 points a year ago

It's okay, bro. Let it out.

path: 0 17483791 17483876, hotness: undefined, score: 33, children: 1
Darkard 28 points a year ago

I just need Gareth to stop telling me that he knows how to code when he thinks a git push is what you do when you want grandpa's inheritance early.

path: 0 17483791 17483876 17483916, hotness: undefined, score: 28, children: 0
Zachariah 9 points a year ago

I’d much rather pick apart my own broken code.

path: 0 17483791 17484336, hotness: undefined, score: 9, children: 0
FizzyOrange 8 points a year ago

is having to pick apart someone else broken code.

I agree, but also I do find that AI's broken code is generally waaay less annoying to pick apart than my colleagues' code. I'm not sure exactly why. Probably partly because it's better at commenting code and naming variables so it's easier to follow?

I think also partly it's because reviewing other people's code is usually done during code review, where you can't just directly edit the code to fix it - you have to start a conversation convincing them to do it differently. That's quite annoying and doesn't happen with AI generated code.

path: 0 17483791 17484138, hotness: undefined, score: 8, children: 10
sturger 11 points a year ago

I still don't understand why we're using humans to review AI code. Shouldn't AIs be reviewing the code?

We're letting AIs do the fun part (coding) and forcing humans to review (the worst part) reams more janky code.

path: 0 17483791 17484138 17484886, hotness: undefined, score: 11, children: 5
greenskye 8 points a year ago

AI's get the fun part of everything right now. AI gets writing, humans get editing. AIs get drawing, humans get fixing hands and details, etc etc

path: 0 17483791 17484138 17484886 17489592, hotness: undefined, score: 8, children: 0
FizzyOrange 4 points a year ago

AI's aren't smart enough yet. But plenty of people are also using them to review code.

path: 0 17483791 17484138 17484886 17485144, hotness: undefined, score: 4, children: 3
Beacon 1 point a year ago

What are the results if you take code written by one brand of ai and then have another brand of ai review it? Like use chatgpt to write code, and then ask copilot if the generated code has any errors and will work as intended?

path: 0 17483791 17484138 17484886 17485144 17485485, hotness: undefined, score: 1, children: 2
Ephera 3 points a year ago

Huh, I feel the complete opposite. Human-written code follows some sort of causality, for example when you see complex code or a strange detail change, they had a reason to write that and they likely tried other solutions first. With AI-generated code it feels a lot more like I have to rate each changed line in isolation, which is exhausting.

But yeah, I don't know, we don't typically do code reviews. I've only been in that situation so far, when I had significantly more knowledge of the project and language, so there were rarely discussions beyond trying to teach them.

path: 0 17483791 17484138 17492220, hotness: undefined, score: 3, children: 0
Beacon 1 point a year ago

I'm not a programmer so i don't know if this makes sense, but I wonder if it's easier to retool ai code because ai code is janky in a similar-ish way most of the time, while human code is janky in different ways all the time? Whadda ya think?

path: 0 17483791 17484138 17484421, hotness: undefined, score: 1, children: 2
Windex007 6 points a year ago

I disagree with the premise.

AI is good at making things that LOOK right. Pictures. Words. Whatever. Actually makes errors harder to find IMO.

path: 0 17483791 17484138 17484421 17485344, hotness: undefined, score: 6, children: 0
FizzyOrange 2 points a year ago

Yeah definitely could be. I also think when AI gets things wrong it gets it so obviously wrong you have to delete it and do it yourself (and not worry about offending someone). It rarely seems to make the same kinds of trivial mistakes humans do (like copy/paste errors for example). It either does a pretty decent job that's easy to fix up, or it totally fails and you do it yourself.

path: 0 17483791 17484138 17484421 17485173, hotness: undefined, score: 2, children: 0
pinball_wizard 6 points a year ago

You know why designers and PMs like AI code? Because they don't know what the fuck they are doing,

I just want to highlight this for any designers or PMs reading along.

In the same breath, I want to invite my designer colleagues to try out this amazing designing script I wrote. It'll save them a ton of time, I bet. (This is sarcasm.)

I actually respect the difficultly of designers jobs.

Even while many of them don't respect the difficultly of mine.

Oh well. I'll get paid either way, in the end, because this shit all breaks when it's done wrong.

path: 0 17483791 17493095, hotness: undefined, score: 6, children: 0
rayquetzalcoatl 40 points a year ago

My bosses keep trying to get me to do this. They don't understand that the work they give me is complicated and niche. The chatbots do not help at all, ever. It's shit.

I don't understand why these numbskulls pay me if they think my job is so easy that a fucking chatbot can do it.

path: 0 17489016, hotness: undefined, score: 40, children: 4
Jimmycakes 16 points a year ago

They need to see if it can be done before they fire you. But if you're not trying they can't start seeing. So you need to set least try for them to see.

path: 0 17489016 17490954, hotness: undefined, score: 16, children: 0
ech 8 points a year ago

I don't understand why these numbskulls pay me if they think my job is so easy that a fucking chatbot can do it.

Call me paranoid, but it feels like having professionals consistently brute force the output from these systems into something usable would provide a rich resource to improve them to the point that they can.

path: 0 17489016 17489991, hotness: undefined, score: 8, children: 0
mojofrododojo 6 points a year ago

they want you to model your work processes so the AI can duplicate you.

path: 0 17489016 17509608, hotness: undefined, score: 6, children: 0
Ephera 4 points a year ago

Yeah, every so often I do want to give it a try, to see what's possible, but I just immediately bounce off from trying to explain my task in a prompt. There's so much context one needs to be aware of, I'd have to write a whole essay into there.

And that's when I'm lucky, when I myself know what needs to be done. More often than not, I start implementing and then find out what the steps are. Finding that out upfront, so I could try to write it into a prompt, takes an insane amount of effort. And especially so, when I can't rely on the instructee thinking logically to catch when I made a mistake.

path: 0 17489016 17492580, hotness: undefined, score: 4, children: 0
jet 13 points a year ago

Because some people think it's all about the prompts. If you get all of your highly talented, highly paid, irreplaceable people to write their jobs out in prompts so that the AI can do it. You can fire them and keep the prompts, then just have an entry level person use those same prompts to do the same work...

Of course, that's the dream, reality is one hallucination away

path: 0 17491526, hotness: undefined, score: 13, children: 0
some_guy 13 points a year ago

Psycho manager.

path: 0 17486535, hotness: undefined, score: 13, children: 0
turbowafflz 11 points a year ago

I tried to get chatgpt to help me write fvwmscript a week or so ago and literally all of the output it gave was hallucination, none of it was valid or even made any sense in context. It vaguely looked like fvwmscript but that was the only similarity it had to real code

path: 0 17488093, hotness: undefined, score: 11, children: 0
andybytes 10 points a year ago

I used AI today for a short period. Then I gave it up because it kept giving me stupid ideas and I just did it myself. I have yet to be impressed by literally anything other than the sinister abilities of its uses as a surveillance tool, A tool in the US Nuclear Program and the dragnet. Even Palantir, Peter Thiel's little monster he created is inaccurate and costly. His little tool scrapes Twitter and it uses osint accounts and it ended up killing a bunch of meaningless civilians. The person who owned the OSINT account donated money to charity cause they felt guilty. So coming from just a business perspective, from fiscal realities, it is clear that most of this AI bullshit is just a bunch of buzzwords and nonsense. A way for big business to just lower the bar, lower standards crush small business and hollow out America. AI has yet to actually show me something that I find valuable. The bubble it gonna pop.

path: 0 17485833, hotness: undefined, score: 10, children: 0
vane 7 points a year ago

I hope one day he will order sandwich from machine generated app and machine will put allergic ingredients in his sandwich and he will die so we fucking understand what are consequences of this fuckery with technology.

path: 0 17489568, hotness: undefined, score: 7, children: 1
Cort 1 point a year ago

AI: but sir you said no peanuts and tree nuts. This is just the peanuts. Have a good day!

path: 0 17489568 17509180, hotness: undefined, score: 1, children: 0
Lembot_0003 6 points a year ago
path: 0 17484319, hotness: undefined, score: 6, children: 4
b_van_b 5 points a year ago path: 0 17484319 17484366, hotness: undefined, score: 5, children: 3
Lembot_0003 4 points a year ago
path: 0 17484319 17484366 17484753, hotness: undefined, score: 4, children: 1
turbowafflz 10 points a year ago

I don't understand why it's closed source, who would ever use a closed source terminal when there's a nearly infinite number of open ones

path: 0 17484319 17484366 17484753 17488242, hotness: undefined, score: 10, children: 0
InformationEntropy 0 points a year ago

Neat idea. Idiot CEO.

path: 0 17484319 17484366 17507638, hotness: undefined, score: 0, children: 0
programmingcirclejerk
programmingcirclejerk

@programming.dev

login for more options
304
53
1

Community to talk about enlightened programming takes

Rules:

  • read and follow the programming.dev code of conduct
  • no flamewars
  • mark your unjerks
  • only programming related content allowed
  • link to the original source
  • do not mention this community in places like hackernews, lobste.rs, or the general programming communities on Lemmy where we source jerk material from.

go to feed...