Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
alphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 2 年前

Int and bool walk into a bar

lemmy.world

message-square
33
fedilink
782

Int and bool walk into a bar

lemmy.world

alphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 2 年前
message-square
33
fedilink
  • 👁️👄👁️@lemm.ee
    link
    fedilink
    English
    arrow-up
    51
    ·
    edit-2
    2 年前

    Shouldn’t it be a float that goes between 0 and 1 instead of an int. In this situation they’d be the same thing, considering 1 would be max lol.

    • MaggiWuerze@feddit.de
      link
      fedilink
      arrow-up
      4
      ·
      2 年前

      So you only shower with 1° cold water? Or could the int maybe represent something like 40°C?

      • sup4rawr@lemmynsfw.com
        link
        fedilink
        English
        arrow-up
        7
        ·
        2 年前

        but degrees aren’t integers, you can definitely also shower at 40,5°C

        • jcg@halubilo.social
          link
          fedilink
          arrow-up
          3
          ·
          2 年前

          Not to overdissect a meme, but it really should be an unsigned byte since that’s what the digitiser would probably have as an input or output.

      • 👁️👄👁️@lemm.ee
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 年前

        The temperature handle is either off or maxed out in this scenario. Not the temperature.

        • MaggiWuerze@feddit.de
          link
          fedilink
          arrow-up
          2
          ·
          2 年前

          Yeah, that’s why it says “supposed to work”

      • wieli99@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        2 年前

        You’re getting down voted, but you’re right lol

        • MaggiWuerze@feddit.de
          link
          fedilink
          arrow-up
          3
          ·
          2 年前

          Yeah, don’t know why people would describe temperature on a 0-1 scale

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
Visibility: Public
globe

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

  • 149 users / day
  • 3.82K users / week
  • 7.6K users / month
  • 19.5K users / 6 months
  • 197 local subscribers
  • 25.3K subscribers
  • 1.6K Posts
  • 59K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org