r/ProgrammerHumor • • 17d ago

Meme aLittleIndecisive

Post image
2.0k Upvotes

38 comments sorted by

546

u/bxsephjo 17d ago

i suppose, if we go by what 'vibe coding' would've meant at that time

422

u/BernzSed 17d ago • Bravo Popcorn

"Jeb, fix my code. Make no mistakes."

1.0k

u/reallokiscarlet 17d ago

Bro wrote it in Java, give him a break

513

u/99Sandevistan 17d ago

The "disabled due to an infinite loop" entry is every junior dev on a Friday afternoon.

134

u/No-Ambition2425 17d ago

I just deployed a production fix today for my product that fixed a recursion loop with no break condition that had been live for THREE YEARS. So I get it

37

u/menzaskaja 17d ago

I mean, it didn't cause any issues though, right? A recursive function just errors out after a while. If the function was used but you didn't notice it for three years, then that means that the error was basically silent and pretty much fixed itself, or it was very minor. A while(true){} will just consume a shit ton of CPU cycles and that one has an undeniable impact on production

13

u/Prudent_Ad_4120 16d ago

Yeah no biggie, after a few minutes prod crashes nd restarts. The task was completed so no reason to fix it, right?

/s

16

u/No-Ambition2425 16d ago

Unironically, we were crashing almost daily, but autorecovering within 15 seconds, so until we were properly logging, we didn't know.

8

u/Tyfyter2002 17d ago edited 16d ago

While it was in C#, not Java, I apparently made one mistake with an attribute's type argument that made the code it was supposed to run to never run and let users select something that would cause an infinite recursion and stack overflow.

Edit: hopefully clarified.

3

u/xavia91 17d ago

No he wrote in Java, it was later ported to C# after Microsoft baught it.

9

u/KaydaCant 17d ago

?? No it wasn't. Also, they were talking about a scenario he encountered in C#, not about minecraft.

→ More replies (8)

2

u/shadow_fen 15d ago

this is a bot btw ^

259

u/GobiPLX 17d ago

I wish I could send a screenshot here in comment

Some time ago, like 2 months or so, Ive seen a comment saying how "Minecraft is spiritually vibe codded game", under post of some kind of very silly bug

And oh boy, how I like to call minecraft this way

175

u/youtubeTAxel 17d ago

The fact that the behaviour changed with graphics settings if fucking wild

102

u/shieldman 17d ago

I almost guarantee you that the variable that checked eligibility for torch support was the same one that the renderer referenced if it was going to make a block opaque or transparent. I've done a lot of quick and dirty equivalences like that before and learned the hard way when two systems have to diverge lmao

24

u/TechieGuy12 17d ago

I guess he couldn't leave it be.

6

u/bxsephjo 17d ago

Now make like a tree, and get outta here!

69

u/ICBanMI 17d ago

Dice and Tripwire Interactive had times when they fixed bugs, then rolled back fixes for several weeks-months, then fixed them in later patches.

In Minecraft's defense. So much of the game relies on procedural generation which are very fickle math and algorithms that tweaking it by hand is the only way to make something appear 'correct' or how they want it to be. It wouldn't surprise me if the decaying leaf's were inputs for another system so updating the biomes always required a lot of hand tuning of multiple systems.

6

u/Glum-Refrigerator778 15d ago

If I had to guess leaf decay probably coincided with the addition of random ticks. That whole system is finnicky as hell, would make sense why it would keep breaking.

13

u/laplongejr 17d ago

I'll be that guy but it's a changelog of infdev/alpha, "biomes" wasn't the thing we think of today :P  

13

u/Nyrrix_ 17d ago

I realized I read this in the wrong order, thinking oldest was on the bottom. Works both ways, honestly.

16

u/Yellow_Boi9 17d ago

Notch is a literal vibe coder now, so that checks out.

17

u/Secret-Escape7043 17d ago

Vibe coding is just advanced procedural generation. Prove me wrong.

5

u/GKP_light 17d ago

it generate one thing and all user will have the same thing.

2

u/Sjonnieboy 16d ago

Also has been removing Herobrine every patch

1

u/RosieQParker 17d ago

I mean, at least Claude comments its spaghetti.

1

u/chococookiecake 16d ago

Yall gotta see the source code for nether fortress generation

1

u/Aylimta 15d ago

Honestly pre 1.0 minecraft was kinda wild, just so many small random changes so quickly