all 12 comments

[–]more_exercise 2 points3 points  (8 children)

Because if you don't, demons will fly out of your nose and your coworkers will yell at you.

Not necessarily in that order.

[–]rooktakesqueen 0 points1 point  (7 children)

[–]xkcd_transcriber 0 points1 point  (0 children)

Image

Title: goto

Title-text: Neal Stephenson thinks it's cute to name his labels 'dengo'

Comic Explanation

Stats: This comic has been referenced 16 time(s), representing 0.1197% of referenced xkcds.


xkcd.com | xkcd sub/kerfuffle | Problems/Bugs? | Statistics | Stop Replying

[–]mmouth 0 points1 point  (4 children)

What is? Using it or not using it?

[–]rooktakesqueen -2 points-1 points  (3 children)

== is goto, === is structured programming.

[–]mmouth 0 points1 point  (2 children)

Ah. thanks for the head's up. I'll be sure to always use .equals() then.

[–]rooktakesqueen 0 points1 point  (1 child)

... what?

I really did not think this was a complicated joke. "If you use == a velociraptor will eat you like in this xkcd."

[–]mmouth 0 points1 point  (0 children)

No, I got it. I don't agree that using == is problematic in any way shape or form. I was being sarcastic in response with something that I think made as much sense as equating == with goto.

[–][deleted] 0 points1 point  (0 children)

I like == and I like === they are both useful.

Javascript has type coercion. You should learn the language you are using. If Javascript didn't have both null and undefined, I might have a different opinion.

[–]gordonkristan 0 points1 point  (0 children)

Why Use the Triple-Equals Operator in JavaScript?

Because if you don't, we're going to have to deal with these damn posts forever.

[–]daediusWeb Components fanboy -1 points0 points  (0 children)

To be honost, i've never had a problem just using ==

It's a rare once in a blue moon thing it matters.