My precious code

240 points · 23 comments · view on lemmy.world

23 Comments

ignotum@lemmy.world · 39 pts · 293d (10 replies)

I prefer the OG

dreadbeef@lemmy.dbzer0.com · 8 pts · 293d

not really different than the op these days though

b0ber@lemmy.world · 2 pts · 293d (8 replies)

Still useful to this day that’s true. But I also like to gamble on my code and argue with AI

SpaceNoodle@lemmy.world · 30 pts · 293d (7 replies)

I prefer writing code that works and not wasting time with the bullshit generator

b0ber@lemmy.world · 4 pts · 293d (6 replies)

Well, to be honest it's kind of like that 90% of the time. You don't actually become more productive but end up cleaning trash most of the time. Anyway, the hardest part is connecting all the pieces properly and understanding how everything fits, handling edge cases, and so on. Writing the code itself is actually the easy part.

SpaceNoodle@lemmy.world · 18 pts · 293d (5 replies)

That's all part of writing it. Typing gibberish you don't understand or that doesn't work doesn't count.

b0ber@lemmy.world · 6 pts · 293d (4 replies)

Not necessarily, even before having all these models, I spent most of my time thinking rather than coding. The coding part is just the final nail, that's my approach at least.

atopi@piefed.blahaj.zone · 3 pts · 293d

Isnt the thinking part of the coding?

ignotum@lemmy.world · 1 pts · 293d (2 replies)

Same here really, i plan the structure, then have ai throw it together, then i clean up and build off of that

I can't say i particularly miss writing the mindless boilerplate stuff

IcyToes@sh.itjust.works · 1 pts · 293d

Surely missing that process, you forget error handling. As you write, its consistently, what if this is null, what if the input is like x. There are many questions you should ask yourself and if you AI it, you'll forget.

rozodru@piefed.social · 30 pts · 293d (1 reply)

Claude: "It's a known issue"

ChatGPT: "Ah - now I see the what the problem is you're trying to do such and such" after telling me to do such and such

Gemini: "I see you're trying to bake a lettuce cake with chocolate chip cookies"

taxon@lemmy.world · 6 pts · 293d

More like, Anymodel: "You're absolutely right! What the hell is this?"

pewpew@feddit.it · 13 pts · 293d (1 reply)

Remember when people used to steal code from StackOverflow? Good times

b0ber@lemmy.world · 3 pts · 292d

The first generation of vibe coders

myfunnyaccountname@lemmy.zip · 13 pts · 293d

Welcome to corporate America. If it works, ship it. Fuck it. It’s not your personal pet project. Give back as much as they care about you.

Ephera@lemmy.ml · 6 pts · 293d (2 replies)

You not using any libraries? We have like 1100 animals in our software at work (that we know of).

SkaveRat@discuss.tchncs.de · 2 pts · 293d

Coder's Ark

QuazarOmega@lemy.lol · 1 pts · 292d

Minimal footprint, no dependencies 😇

::: spoiler The stash of awful code the AI blurted out vaguely resembling libraries the AI was trained on

:::

probable_possum@leminal.space · 4 pts · 293d

It is called sampling and recombination, which is perfectly fine. The only metric should be that the final product masters the testing parkour. And that parkour better be worth its name. :)

danhab99@programming.dev · 2 pts · 290d

"the natural consequences of your own decisions" is the best answer I have to most things

DivineDev@piefed.social · 2 pts · 293d (1 reply)

"""working"""

goatinspace@feddit.org · 4 pts · 293d

"\"\" Wokring\"\""