• wia
      link
      fedilink
      223 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.

      • @cm0002
        link
        63 months ago

        “Pizza is an open-face sandwich” ~Madlad Lemmyor (lemmyite? Lemm? Lemmor? Just what do we call users of Lemmy anyways???) from a couple weeks ago

          • @[email protected]
            link
            fedilink
            English
            43 months ago

            Or “Fedizens” if we want to be inclusive of other members of the Fediverse, like Mbin, Piefed, Tesseract (well, technically that’s just a GUI for Lemmy iirc), and soon Sublinks.

            But it does seem less playful than Lemmings:-P.

            img

    • @ArtVandelay
      link
      English
      11
      edit-2
      3 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.

        • @ArtVandelay
          link
          English
          83 months ago

          Python is dynamically typed, so you could just go against the type hint like an animal. But yes, probably.

      • Echo Dot
        link
        fedilink
        23 months ago

        If you’re just going to define a variable and then return it there’s no reason to do it in a function.

    • Kelly Aster 🏳️‍⚧️
      link
      English
      103 months ago

      Yeah you gotta scope dat shit.

      No way the Ent-D rolled off the line with global vars for everything, was this before or after O’Brien transferred off the ship?

      • @Buddahriffic
        link
        43 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.