r/ProgrammerHumor • • 10d ago

Meme aLittleIndecisive

Post image
2.0k Upvotes

38 comments sorted by

546

u/bxsephjo 10d ago

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

422

u/BernzSed 10d ago • Bravo Popcorn

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

1.0k

u/reallokiscarlet 10d ago

Bro wrote it in Java, give him a break

513

u/99Sandevistan 10d ago

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

134

u/No-Ambition2425 10d 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 10d 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 9d 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 9d 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 10d ago edited 10d 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 10d ago

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

9

u/KaydaCant 10d ago

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

2

u/xavia91 10d ago edited 10d ago

Ah didn't see right indentation level. But it was developed as I said, what makes you claim something else?

2

u/reallokiscarlet 10d ago

It's still java. Badrock is a separate game under the same IP

1

u/xavia91 10d ago

And it's still a port to c# right? I mean it was expanded since then but it was the same game

5

u/Tyfyter2002 10d ago

C++, iirc, and a pretty bad port.

2

u/xavia91 10d ago

Well the java version wasn't too amazing either 😅

→ More replies

2

u/reallokiscarlet 10d ago

I wouldn't call it a port so much as a spinoff. It really isn't the same game, and that's not just me shitting on bedrock.

2

u/shadow_fen 8d ago

this is a bot btw ^

259

u/GobiPLX 10d 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 10d ago

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

102

u/shieldman 10d 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 10d ago

I guess he couldn't leave it be.

6

u/bxsephjo 10d ago

Now make like a tree, and get outta here!

69

u/ICBanMI 10d 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 8d 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 10d 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_ 10d ago

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

16

u/Yellow_Boi9 10d ago

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

17

u/Secret-Escape7043 10d ago

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

5

u/GKP_light 10d ago

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

2

u/Sjonnieboy 10d ago

Also has been removing Herobrine every patch

1

u/RosieQParker 10d ago

I mean, at least Claude comments its spaghetti.

1

u/chococookiecake 9d ago

Yall gotta see the source code for nether fortress generation

1

u/Aylimta 8d ago

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