r/programminghumor • • Sep 03 '26 • Popcorn 2 Regret 1

If it works, don't touch it

2.9k Upvotes

46 comments sorted by

54

u/APILayerOfficial Sep 03 '26

Yep! That's the 3rd law of vibe coding haha

14

u/Filestack_Official Sep 03 '26

Funny! What's the first two?

21

u/HakiDRoger Sep 03 '26

1st law is: Embrace the vibe

25

u/lightspeedissueguy Sep 03 '26

2. Always say "make no mistakes"

-11

u/Here_f0r_p0rn_ Sep 03 '26

u/AskGrok make no mistake and make a banger HTML+CSS static page

-9

u/AskGrok Sep 03 '26

Here's a banger single-file HTML+CSS page embracing the vibe. Copy-paste it into an .html file and open it.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>VIBE CODING</title>
<style>
body { margin:0; height:100vh; display:flex; align-items:center; justify-content:center; background:#0a0a0a; color:#fff; font-family:system-ui; overflow:hidden; }
.container { text-align:center; }
h1 { font-size:5rem; margin:0; background:linear-gradient(90deg,#ff00aa,#00ffff,#ff00aa); -webkit-background-clip:text; -webkit-text-fill-color:transparent; animation:gradient 3s ease infinite; }
.laws { margin:3rem 0; }
.law { font-size:1.8rem; margin:1.5rem 0; padding:1rem 2rem; border:2px solid #00ffff; border-radius:50px; display:inline-block; transition:all .3s; }
.law:hover { transform:scale(1.1); box-shadow:0 0 30px #00ffff; background:rgba(0,255,255,.1); }
#vibe-btn { padding:1.2rem 3rem; font-size:1.5rem; background:transparent; color:#ff00aa; border:3px solid #ff00aa; border-radius:50px; cursor:pointer; transition:all .2s; }
#vibe-btn:hover { background:#ff00aa; color:#0a0a0a; transform:translateY(-5px); box-shadow:0 0 40px #ff00aa; }
@keyframes gradient { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
</style>
</head>
<body>
<div class="container">
<h1>VIBE CODING</h1>
<div class="laws">
<div class="law">1. Embrace the vibe</div>
<div class="law">2. Make no mistakes</div>
<div class="law">3. If it works, don't touch it</div>
</div>
<button id="vibe-btn">EMBRACE THE VIBE</button>
</div>
<script>
document.getElementById('vibe-btn').onclick = () => {
document.body.style.transition = 'background 0.4s';
document.body.style.background = ['#0a0a0a','#1a0033','#001a1a'][Math.floor(Math.random()*3)];
setTimeout(() => document.body.style.background = '#0a0a0a', 800);
};
</script>
</body>
</html>

^(what is this?)

3

u/Here_f0r_p0rn_ Sep 03 '26

Nice

-13

u/AskGrok Sep 03 '26

Vibe received. No changes needed.

what is this?

140

u/schewb Sep 03 '26

21

u/mvsrs Sep 03 '26

Came here to see this

10

u/schewb Sep 03 '26

Ditto, and I learned so much in my search to find it 😂 I always thought this was from a weird arc in Initial D and am only just now finding out it there was a whole train-focused parody called Densha de D

4

u/FillAny3101 Sep 04 '26

The users of r/trolleyproblem would go crazy for this

3

u/lolslim Sep 03 '26

Awesome

3

u/martian_rover Sep 04 '26

Just a matter of time before we see the train wreck

70

u/Sea_Curve8772 Sep 03 '26

I don't need AI for this, I'm perfectly capable of failing to comprehend code that I wrote myself just a few days ago.

9

u/brqdev Sep 04 '26

Minutes ago 😭😭

8

u/craig31111 Sep 04 '26

Seconds ago lets be honest

3

u/martian_rover Sep 04 '26

haha, oh but it's so much more fun to see AI collisions

2

u/marssel56 Sep 08 '26

It's shits and giggles until that code ends up in production.

1

u/Auntbed Sep 06 '26

It really isn’t tbh

22

u/s0litar1us Sep 03 '26

This is why people keep shipping buggy LLM generated code. You cannot blindly trust what LLMs output, you need to go over everything and make sure it works and doesn't fall apart the moment you touch it.

And in general you should make sure what you work on still functions at it's limits, not just the in best case scenario.

9

u/geek-49 Sep 03 '26

but that would take effort/s

4. Be as lazy as possible.

13

u/thebatmanandrobin Sep 03 '26

ngl .. if you could get the timing right, this would be a bad ass clock

9

u/jsrobson10 Sep 03 '26

reddit app moment made this better:

8

u/micre8tive Sep 03 '26

No! That was OUR thing!

4

u/JonathanMovement Sep 03 '26

wow the same exact meme was told but without claude… we’re doomed

3

u/Mo0 Sep 04 '26

This leaves out the part where setting this up cost a ridiculous amount of energy, water, and money, and will burst into flames because the temperature regulation is set to “oops I forgot lol”

3

u/markswam Sep 04 '26

Congrats on the tech debt.

3

u/ByteSizedFounder Sep 04 '26

Wonder if they'll open up a new agent to ask for a sanity check or an adversarial code review.

2

u/External_Tap_4396 Sep 03 '26

Train gore🫩

2

u/aDamnCommunist Sep 04 '26

My job almost necessitates using it and I hate it. Their codebase is already so bloated with slop, PRs that got almost auto approved, and legacy on legacy code that it's nearly impossible to actually develop.

2

u/FillAny3101 Sep 04 '26

The users of r/trolleyproblem would go crazy for this

1

u/abednego-gomes Sep 04 '26

More vibe code coming soon for MCAS v13 for 737 MAX 10.

1

u/zylosophe Sep 04 '26

im so becoming a hacker in the next years

1

u/ioccasionallysayha Sep 04 '26

That's just aerial footage of SWR here in the UK.. god I wish we had a better rail service

1

u/ren_blackheart Sep 10 '26

you know theres a really simple way to avoid this issue

1

u/Awkward-Cat-4702 Sep 03 '26

Good catch! - If you stop searching for bugs in my code you won't know they exist. Otherwise, I will blame your badly written prompt as the source of all the bugs you may find!

1

u/geek-49 Sep 03 '26

If you stop searching for bugs in my code you won't know they exist

said a certain U.S. politician

-1

u/One_Pie289 Sep 03 '26

As if any of yall know what you are coding without AI.

0

u/winged_owl Sep 03 '26

So Claude is just like a Principal Engineer who retired yesterday?

69

u/[deleted] Sep 03 '26

[removed] — view removed comment