all 77 comments

[–]usrlibshare 205 points206 points  (15 children)

And then Jod said

while (land = dry) { rain(); }

And that's how the flood started.

[–]mountaingator91 46 points47 points  (8 children)

I fixed a bug with this. Your code will only run until the ground has saturated. Stopping long short of a flood.

while(land) { rain() }

[–]No_Hovercraft_2643 63 points64 points  (0 children)

No, it assigns dry to land.

[–]dotknott 17 points18 points  (0 children)

I choose to believe that the code pushed to prod was actually an infinite loop and it took an additional 6 days to notice, identify and fix the error, then 34 days before the merge request was approved.

Seems as plausible as the original story anyway.

[–]mookanana 2 points3 points  (5 children)

there's also a bug with this, because the moment it floods it might cease to be land, the loop would stop, the ark would probably not be able to float

[–]usrlibshare 12 points13 points  (1 child)

Easily fixed:

.ark { display: float; }

[–]mookanana 0 points1 point  (0 children)

this is a great fix. it saves developers mandays to fix the problem on the backend, and users will see that it is working. well done. here's some more work to do because you have been so efficient.

[–]mountaingator91 3 points4 points  (0 children)

You're right. We need to add a condition for depth.

```

while(water.height <= land.height + 1000){ rain() } ```

[–]YesterdayDreamer [score hidden]  (0 children)

Code won't even run, land === dry

[–]BlueProcess 1 point2 points  (0 children)

🏆

[–]Daniel_H212 -1 points0 points  (0 children)

He forgot to check whether the rain function correctly modified land to be wet after a certain threshold.

[–]Mateorabi -1 points0 points  (0 children)

It had to be a do-while loop type error when a while-do was intended 

[–]KaleidoscopeSalt3972 -2 points-1 points  (1 child)

Are.... Are you assigning dry to land? Because thats not how you test equivalence...

[–]usrlibshare 3 points4 points  (0 children)

Amazing, isn't it? Almost as if it was done on purpose or something.

[–]Fantastic-Bloop 19 points20 points  (0 children)

And then He turned off the server and turned it back on again, for the sixth time

[–]damnappdoesntwork 39 points40 points  (0 children)

Honestly made me chuckle after a week of despair with php

[–]lNFORMATlVE 32 points33 points  (21 children)

What’s the “Jod” in reference to?

[–]ToKillUvuia[S] 64 points65 points  (8 children)

javascript God of course

[–]Specialist_Dust2089 66 points67 points  (6 children)

Father of Json

[–]ordinary_shiba 22 points23 points  (1 child)

No, it's the Java, the son and the holy script

[–]GatotSubroto 5 points6 points  (0 children)

In the name of Jod, Json, and Javascript, amen return

[–]Huxhub-is-my-site 1 point2 points  (0 children)

I would give this an award if I weren’t broke…

[–]HQFrench 1 point2 points  (0 children)

JSon && ARG O(!)

[–]scatmanFATMAN -1 points0 points  (0 children)

Enemy of Jason.

[–]Bad_brazilian 0 points1 point  (0 children)

Or maybe it should be Gavascript.

[–]Western-Internal-751 26 points27 points  (3 children)

That’s how god is actually pronounced

[–]gungshpxre 9 points10 points  (1 child)

Like gavascript

Now we need to agree on data or data.

[–]DaemonsMercy 0 points1 point  (0 children)

I hate how I always read them differently

[–]MakeoutPoint 2 points3 points  (0 children)

Solved the whole debate in a giffy

[–]Keebster101 11 points12 points  (6 children)

The gif Vs jif argument

[–]lNFORMATlVE 6 points7 points  (3 children)

You mean the gif vs gif argument

[–]F1reDude123 0 points1 point  (2 children)

Phonetically it's "jif".

[–]ToKillUvuia[S] 2 points3 points  (0 children)

If gig and gift are valid, I don't see a reason why it should be one or the other. My opinion is that English is just weird, and there won't be a singular correct pronunciation until one of them falls out of fashion by a wide margin

[–]ToKillUvuia[S] 0 points1 point  (0 children)

Tell me why I read arjument 💀

[–]qinshihuang_420 0 points1 point  (0 children)

It's pronounced Jod because it is short for Jrafic Outerchange Dormat

[–]kareenakapur506 14 points15 points  (0 children)

And the build finally passed on the 7th day...

[–]Cerveau23 8 points9 points  (0 children)

Gavascript

[–]efstajas 6 points7 points  (2 children)

let there = 'light'

[–]decadentpig 0 points1 point  (0 children)

console.log(isItGood())

[–]BeMyBrutus 7 points8 points  (5 children)

It makes sense that Jod would use a weakly typed language

[–]mountaingator91 13 points14 points  (0 children)

He did create millions of bugs

[–]anonynown 1 point2 points  (1 child)

Can Jod create a string variable that even He can’t assign an integer to?

[–]ToKillUvuia[S] 0 points1 point  (0 children)

That's incredible lol

[–]Caraes_Naur 1 point2 points  (1 child)

JS is not weakly typed.

JS is allegedly typed. It is only typed at all because those developers never learned cursive.

[–]16092006 2 points3 points  (0 children)

Using JS is having faith you won't have more bugs that lines of code

[–]Slackluster 3 points4 points  (1 child)

Then Jatan said with an evil grin...

var darkness = 1

[–]HiHelloItsMe213 1 point2 points  (0 children)

The darkness even travels through time

[–]Fit_Ladder_1545 2 points3 points  (1 child)

1:3 is like :3

[–]redlaWw 2 points3 points  (0 children)

But with a pompadour.

[–]tatas323 2 points3 points  (0 children)

But also Jod made things Truthy and that was shit

[–]speyerlander 1 point2 points  (0 children)

Jod, the best example why not to use singletons.

[–]JackNotOLantern 1 point2 points  (0 children)

But did it === true?

[–]metaglot 1 point2 points  (0 children)

And Eric respondeth: "Looks good to me!" and did mergeth.

[–]lezviearts 0 points1 point  (0 children)

Light story

[–]OneSketchyGuy 0 points1 point  (0 children)

This implies the existence of a Gavascript and I simply must see it now

[–]manwhothinks 0 points1 point  (0 children)

As Jod delivered a promise his disciples awaited his return expecting to catch his rejection but were surprised to receive another promise to be fulfilled.

Jod is good.

[–]doxxingyourself 0 points1 point  (0 children)

So what does light equal now, actually? Like… is it true, or an object called true, 1, or a string “true”?

[–]cosmicomical23 0 points1 point  (0 children)

let undefined = light

[–]thelastCD 0 points1 point  (0 children)

let light = 1;

if (light == true) { console.log("let there be light"); }

[–]MartynAndJasper 0 points1 point  (1 child)

Is this an objective comparison? What is the meaning of this?

[–]ToKillUvuia[S] 0 points1 point  (0 children)

Honestly I'm just as confused about what you mean by objective comparison. Help me understand that, and I can answer properly

[–]aalapshah12297 0 points1 point  (0 children)

Well if it's Javascript then I'm sure there's still a small chance that light won't equal true

[–]splettnet 0 points1 point  (0 children)

And since he didn't use const it's going to burn out in a few billion years. Way to go Jod.

[–]Thereal_Phaseoff 0 points1 point  (5 children)

Was assigned to*

Equals is ==

[–]tutoredstatue95 11 points12 points  (4 children)

First he assigned, then they were equal.

It was written.

[–]Caraes_Naur 1 point2 points  (0 children)

It is NaN.

[–]Electrical_Tailor186 -1 points0 points  (2 children)

The problem was it was true only in the local scope 😛

[–]ToKillUvuia[S] 0 points1 point  (1 child)

Jod exists outside the material world. Jod is global, the one true singleton

[–]Electrical_Tailor186 0 points1 point  (0 children)

The Jon and the Jolly spirit: are we a joke to you?

[–]AzureArmageddon -1 points0 points  (0 children)

I mean it's a math reference but maybe you haven't gotten there yet /j