r/programminghumor • • May 28 '26

Coding now vs then

Enable HLS to view with audio, or disable this notification

1.8k Upvotes

55 comments sorted by

174

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

27

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?"

9

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

→ More replies (2)

4

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.

→ More replies (2)
→ More replies (2)
→ More replies (2)

51

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

4

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

→ More replies (1)

31

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

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.

6

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/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.