Why was 0110 afraid of 0111?
Jake Varness

Jake Varness @jvarness

About: Staff Software Engineer at Storable, husband, father, nerd

Joined:
Nov 12, 2017

Why was 0110 afraid of 0111?

Publish Date: Jul 3 '19
13 6

Because 0111 1000 1001!!! 😂

Comments 6 total

  • Ben Halpern
    Ben HalpernJul 3, 2019

    Bender would make this joke

  • Juneau Lim
    Juneau LimJul 3, 2019

    I really don't want to ruin the fun by TMI, but at the same time, really want to laugh together. Would you kindly explain it to this poor code newbie? (At least I have knowledge about binary and its operations.)

    • Jake Varness
      Jake VarnessJul 4, 2019

      Hey Juneau, sure I can!

      The numbers are binary. From the rightmost bit to the leftmost, you add the numbers up in powers of 2 given the position of the number (starting with 0) as the exponent.

      0110 = (0 * 2^3 ) + (1 * 2^2 ) + (1 * 2^1 ) + (0 * 2^0 ) = 0 + 4 + 2 + 0 = 6

      So 0110 = 6, 0111 = 7, 1000 = 8, and 1001 = 9.

      Does the joke make sense now?

      • Juneau Lim
        Juneau LimJul 4, 2019

        Oh...... I actually got that far, but didn't know the 789 jokes.
        After I saw your comment, I got more lost (since I thought it might be something with the operator, not the value itself) and googled, and gotch.
        Poor myself... I should go to bed and cry a bit.

        • Jake Varness
          Jake VarnessJul 4, 2019

          Lol I'm sorry, I misinterpreted what part of the joke you didn't understand.

          It's a corny joke anyhow 😂

          • Juneau Lim
            Juneau LimJul 4, 2019

            Thanks for putting such effort explaining it. It’s so kind of you.😉

Add comment