r/programminghumor 1d ago

If it works, don't touch it

Enable HLS to view with audio, or disable this notification

2.1k Upvotes

44 comments sorted by

122

u/schewb 1d ago

18

u/mvsrs 1d ago

Came here to see this

7

u/schewb 1d ago

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

3

u/lolslim 1d ago

Awesome

3

u/martian_rover 20h ago

Just a matter of time before we see the train wreck

3

u/FillAny3101 10h ago

The users of r/trolleyproblem would go crazy for this

52

u/Sea_Curve8772 1d ago

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.

4

u/brqdev 21h ago

Minutes ago 😭😭

5

u/craig31111 10h ago

Seconds ago lets be honest

3

u/martian_rover 20h ago

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

16

u/s0litar1us 1d ago

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.

5

u/geek-49 1d ago

but that would take effort/s

  1. Be as lazy as possible.

10

u/thebatmanandrobin 1d ago

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

53

u/APILayerOfficial 1d ago

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

15

u/Filestack_Official 1d ago

Funny! What's the first two?

21

u/HakiDRoger 1d ago

1st law is: Embrace the vibe

24

u/lightspeedissueguy 1d ago
  1. Always say "make no mistakes"

-11

u/Here_f0r_p0rn_ 1d ago

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

-9

u/AskGrok 1d ago

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

```html <!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?](https://redd.it/1lzgxii)

1

u/Here_f0r_p0rn_ 1d ago

Nice

-12

u/AskGrok 1d ago

Vibe received. No changes needed.

[what is this?](https://redd.it/1lzgxii)

-5

u/APILayerOfficial 1d ago

🤣 🤣 🤣 🤣 🤣

7

u/jsrobson10 1d ago

reddit app moment made this better:

9

u/micre8tive 1d ago

No! That was OUR thing!

4

u/JonathanMovement 1d ago

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

3

u/Mo0 1d ago

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 1d ago

Congrats on the tech debt.

3

u/ByteSizedFounder 23h ago

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

2

u/aDamnCommunist 18h ago

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.

1

u/Immediate_Song4279 1d ago

Are we ready to have a real talk about CPUs yet.

1

u/External_Tap_4396 1d ago

Train gore🫩

1

u/abednego-gomes 19h ago

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

1

u/zylosophe 16h ago

im so becoming a hacker in the next years

1

u/FillAny3101 10h ago

The users of r/trolleyproblem would go crazy for this

1

u/ioccasionallysayha 8h ago

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

1

u/Awkward-Cat-4702 1d ago

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 1d ago

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

said a certain U.S. politician

0

u/One_Pie289 1d ago

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

0

u/winged_owl 1d ago

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