Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
jeff 👨‍💻 ( jeff@programming.dev )  to Programmer Humor@programming.devEnglish · 3 years ago

0 vs null vs undefined - explained with toilet paper

i.stack.imgur.com

message-square
8
link
fedilink
357

0 vs null vs undefined - explained with toilet paper

i.stack.imgur.com

jeff 👨‍💻 ( jeff@programming.dev )  to Programmer Humor@programming.devEnglish · 3 years ago
message-square
8
link
fedilink
alert-triangle
You must log in or register to comment.
  • Hubi ( Hubi@feddit.de ) 
    link
    fedilink
    English
    arrow-up
    13
    ·
    3 years ago

    Now give me a negative number

    • ThatGuyFromWork ( ThatGuyFromWork@lemm.ee ) 
      link
      fedilink
      English
      arrow-up
      26
      ·
      3 years ago

      Here you go

      • Hubi ( Hubi@feddit.de ) 
        link
        fedilink
        English
        arrow-up
        6
        ·
        3 years ago

        lmao good one

    • Amputret ( Amputret@lemmy.dbzer0.com ) 
      link
      fedilink
      English
      arrow-up
      6
      ·
      3 years ago

      Roll held in under-hanging fashion, with free end against the wall.

    • Umbrias ( Umbrias@beehaw.org ) 
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 years ago

      That would be some amount of unspooled tp laying on the ground or something.

  • RandomBit ( randombit@lemmy.sdf.org ) 
    link
    fedilink
    English
    arrow-up
    9
    ·
    3 years ago

    In C/C++, undefined should be the meme of the little girl smiling while the house burns down behind her.

    • nintendiator ( nintendiator@feddit.cl ) 
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 years ago

      In C. In C++, the image is zalgoified, corrupted, cropped, lens flared, color-inverted, and for some reason converted to Targa file format.

  • Speiser0 ( Speiser0@feddit.de ) 
    link
    fedilink
    English
    arrow-up
    7
    ·
    3 years ago

    I see how you censored at “undefined”. Thanks. The actual value could easily kill anyone who sees it.

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
    • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.25K users / day
  • 2.67K users / week
  • 5.21K users / month
  • 8.38K users / 6 months
  • 465 local subscribers
  • 34.1K subscribers
  • 1.66K Posts
  • 27.4K Comments
  • Modlog
  • mods:
  • Feyter ( Feyter@programming.dev ) 
  • adr1an ( anzo@programming.dev ) 
  • BurningTurtle ( BurningTurtle@programming.dev ) 
  • Pierre-Yves Lapersonne ( pylapp@programming.dev ) 
  • BE: 0.19.21
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code