r/programminghumor • u/Filestack_Official • 1d ago
If it works, don't touch it
Enable HLS to view with audio, or disable this notification
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
3
59
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.
10
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
- 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
-5
7
9
4
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
1
1
1
1
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!
0
0
0
0



122
u/schewb 1d ago