• Gork@lemm.ee
    link
    fedilink
    arrow-up
    122
    ·
    2 months ago

    This, folks, is why global definition of variables can lead to your untimely demise.

    • wia@lemmy.ca
      link
      fedilink
      arrow-up
      23
      ·
      2 months ago

      Exactly what I bring up when argumentative people show up with any of the inane food definitions “hot dog is sandwich” or “milkshake is soup” and what not.

    • ArtVandelay@lemmy.world
      link
      fedilink
      English
      arrow-up
      13
      ·
      edit-2
      2 months ago
      def hot(temp: int = 340):
          return temp
      

      That way Bev can define temp however she needs, but if Picard doesn’t specify, he gets his tea at a nice drinkable Kelvin temp.

      • Buddahriffic@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        2 months ago

        Crusher is in a shuttle, so the scope of that “hot” is more than just Ent-D. She might have accidentally destroyed the federation with that definition.