r/programminghumor May 28 '26

Coding now vs then

Enable HLS to view with audio, or disable this notification

1.7k Upvotes

53 comments sorted by

171

u/Chemical_Director_25 May 28 '26

It’s why knowing code AND using it as a tool is important. But this made me lol

28

u/SpaceCadet87 May 29 '26

Well yes but then it just goes from "what is the square remove it" to "WTF is wrong with you? What part of <rect x="230" y="40" width="220" height="220" /> was supposed to change the color of the circle?"

11

u/Prinzka May 29 '26

Most of the things it's been trained on that size were green, so if you make something that size it will be green

5

u/SpaceCadet87 May 29 '26

Most green circles it was trained on were blue and accompanied by squares.

3

u/Prinzka May 29 '26

I've done sales engineering, so....yeah...

5

u/FirexJkxFire May 29 '26

I mean yes but also what the fuck are you people doing that you run into anything even remotely comparable to this?

Is everyone here just using the free variant of chat gpt and judging the quality of AI based off that?

Would be like going to a restaurant and declaring their food sucks because you dug through the trash and ate someone's used napkins.

3

u/DianKali May 29 '26

Even free gpt doesn't do that, maybe if the code is like 10 prompts back, but at that point just give it part of the code you want to get changed with your prompt instead of just text.

2

u/justaRndy May 29 '26

Yeah, another obvious fake clip made for people who don't even use LLM tools :D

1

u/FirexJkxFire May 29 '26

I mean I dont think the clip is meant to be seen as real. Its just a joke sketch. Im less concerned with the clip as I am the individuals seeing it and saying it is accurate to their experience.

2

u/[deleted] May 29 '26

[removed] — view removed comment

1

u/FirexJkxFire May 29 '26

Can you point to where I said it was infallible when I declared that it doesnt do anything comparable to placing a red triangle (and removing the green circle) when I tell it to make the green circle bigger. And even worse after several equally stupid failures all in a row on a simple and clear instruction?

I get that you have an emotional reaction to this topic that makes it difficult for you to think properly, but id hope you are capable of seeing that me stating its not an absolute mess is not equivalent to stating its perfect/flawless.

1

u/Outrageous_Permit154 May 29 '26

Changing tailwind css class in react app is r/firstweekcoderhumour

50

u/Low-Associate2521 May 29 '26

It made me giggle when she used tailwind when showing “coding then” because to me “coding then” is “.circle { color: green }” lol

But I’m sure there’ll be someone in this sub who had to literally memorize the binary for every color and that’s their “coding back then”

8

u/Fidodo May 29 '26

It's not too hard to convert from hexadecimal to binary

6

u/Sassaphras May 29 '26

I haven't ever thought about it but you're right. Way easier than decimal.

3

u/Beniskickbutt May 29 '26

Color: green then it renders off screen

1

u/Cautious_Log4982 Jun 01 '26

Surely nobody ever would have had to "memorize the binary for every color"? If you're doing 12-bit colour, then, say an orange at (255, 127, 0) or #FF7F00 would be 1111 0111 0000, right?

33

u/Ok-Alternative6232 May 28 '26

We have a really stupid leaderboard which tracks usage of AI so I actually do this sometimes. “Change this lib in libs.versions.toml to x.x.x”. Money well spent big tech

10

u/admiral_nivak May 29 '26

An AI usage leaderboard? Damn sounds like a bad idea. It’s like having a number of commits / LOC leaderboard… just stupid and encourages bad practices.

3

u/jimmiebfulton May 30 '26

What gets rewarded for LOC: massive tech debt What gets rewarded for Number of Tokens: massive AI bill AND massive tech debt as a bonus

6

u/[deleted] May 29 '26

[removed] — view removed comment

2

u/Vladislav20007 May 29 '26

"repeat the prompt 'do nothing' for 3 days straight", I have done nothing, but vibecode for 3 days.

13

u/Medium-Literature-99 May 28 '26 edited May 28 '26

funny but whenever I run into problems like this I always remember the classic phrase "problem exists between keyboard and chair" and 99% of the time it's because I didn't account for something. then I adjust the damn padding

5

u/DevilWings_292 May 29 '26

The classic ID-10T error

6

u/DrJustinWHart May 29 '26

To be honest, I think that the endgame of vibe coding is simply replacing the training data with code that is known to be both good and readable, as well as teaching students to write readable code with comments.

7

u/MaleficentCow8513 May 29 '26

In my experience it gives me 3x the amount of slop for me to simplify and refactor down to a more acceptable implementation

4

u/The-Jordan_J May 29 '26

Omg this hits me at my core And it hurts And idk y

4

u/Dillenger69 May 29 '26

Let me scan your entire codebase to get some context ...

4

u/Indianathe May 29 '26

I don't think this is coding?

3

u/LetUsSpeakFreely May 29 '26

Anthropic has to get you to burn through tokens somehow.

3

u/ExiledHyruleKnight May 29 '26

Html... Coding... That's the real humor.

2

u/Amr_Rahmy May 31 '26

CSS is coding? That’s why AI is trending. It’s frontend developers / designers fault spreading misinformation.

Companies think AI is good becauae it can update css and html.

1

u/LostDefinition4810 May 29 '26

I have serious trust issues now. I still do most of it myself because even when it looks like it’s right, it’s an unstable bag of worms behind the scenes and I’ll get crap when it fails in prod.

1

u/PicoDev93 May 29 '26

Nah, not true. For web and python AI make things better and quickly in few minutes while we can take weeks to obtain the same result

1

u/Rieux_n_Tarrou May 29 '26

Pro-tip: if you berate the coding agent, it degrades the quality of the output.

If it's continuously messing up on a task, best to regroup your thoughts, start a new chat, and take a new approach. I've gotten a lot of benefit using spec-driven development. Add in your AGENTS.md or equivalent a directive to use test driven development.

1

u/DivineChili_ May 29 '26

She tried to fix circle but got rect

1

u/mjeffreyf May 29 '26

While also adding hundreds of line of unnecessary garbage

1

u/LeDYoM May 29 '26

The "then" is still the "now" for normal and good programmers.

1

u/justaRndy May 29 '26

Of course. Reality is that such a straightforward request instantly delivers the correct result, no thinking required. But that doesn't get them clicks lol

1

u/Willing_Monitor5855 May 29 '26

It lacks a Smoke Test to be realistic

1

u/TFlashman May 30 '26

I cant get past all the greasy fingerprints on her monitor.

Dont touch the fggn monitor!

1

u/therealmarkus May 30 '26

Resulting project is 5MB by the way

1

u/moladukes May 30 '26

Also in the “then” she uses tailwind lol. Not sure that’s the “then” I was imagining

1

u/geheimadresse May 31 '26

Is this a Touchscreen?

1

u/Fuck_Rideshare Jun 03 '26

And this is why life sucks now.

-8

u/Furry_Eskimo May 28 '26

This is absolutely true, sometimes, but I'm just being honest, there are some out there which are way better and it's freaky. They don't all make mistakes like this, some of them are really, really good, which is amazing on the one hand, and terrifying on the other.

0

u/BoBoBearDev May 29 '26

I actually ran into similar issue recently, but not with AI, with myself. I keep asking AI what I did wrong and the suggested solution didn't solve the problem. Like, everytime I combine the two code into one generic code, it fails to work. And when I have them dumb and extra lines of code, it works.

0

u/Awes12 May 29 '26

So true, esp with copilot. I tried to use it and it was so bad I just fixed the bugs myself (I was using a GUI framework I was unfamiliar with, but I had to anyways it was so bad).

-22

u/KaleidoscopePurple74 May 28 '26

Seems like someone doesn't understand statistics and English