Personally I love oranges but cant stand orange juice.

  • chunes@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    10 days ago

    Static typing can kiss my ass.

    The only reason you like it at work is because you are surrounded by idiots.

      • invertedspear@lemmy.zip
        link
        fedilink
        English
        arrow-up
        0
        ·
        10 days ago

        In programming you declare variables. To keep it simple let’s say there are only 2 types, numbers and words.

        Now 1 is obviously a number, and ‘word’ is obviously a word. If I ask you to divide 100 by ‘word’ you’d have to tell me that’s not possible.

        Now what if a say divide 100 by the “word” ‘10’? Well I’m a strongly typed programming language, you’d have to tell me “well, because you defined it with the single quotes, that’s actually a word so you can’t do math on it.” In a loosely typed language you’d be like “yeah I get that ‘10’ meant the number 10 so I’ll do the math.

        This creates amusing weirdness in loosely typed languages, especially when they use math operators to represent word actions. For instance JavaScript is infamously loosely typed and uses the + sign to join words together so if I say ‘Java’ + ‘Script’, I get back ‘JavaScript’. So all the following are true in JavaScript:

        1+1=2 1-1=0 ‘1’+1=11 because the ‘1’ makes it think you want to join words and it converts the second number 1 to a word ‘11’-1=10 because there’s no word operation applied to the minus sign, so it converted the word ‘11’ to a number

        There’s lots of other tomfoolery, but I’m trying to keep the explanation simple. But any mixing of words and numbers in a strongly typed language would just give you an error.

        I’m with the top reply of this thread, you don’t need strong typing if you understand what the code does.

        • jimmux@programming.dev
          link
          fedilink
          arrow-up
          0
          ·
          10 days ago

          I think strong/static typing with inference is the sweet spot. Complex types can change, so it helps to at least have your boundaries well defined. Within the scope of a function, if you need explicit typing on everything then your function might be getting too complex.

    • treadful@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      10 days ago

      I’ve got a growing appreciation for Rust. There’s a lot of benefits. But it is overkill for most things I guess.

      I’m a big fan of type hinting like in Python though. You can have some of the safety of static analysis with the flexibility to fuck around if you find it makes it easier to grok the code.

  • Zak@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    11 days ago

    I like the ungrounded North American electrical outlet and plug design (NEMA 1-15). It has no safety features, but it’s very compact, and very easy for device manufacturers to create folding plugs for USB power supplies and the like.

  • Leather@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    9 days ago

    Pancakes are fragile narcissists. You need a WHOLE FUCKING INTERNATIONAL HOUSE TO SLAKE YOUR EGO, YOU THIRSTY, PATHETIC BREAKFAST FOOD!!

    You’re nothing, nothing, compared to the waffle!

  • JustEnoughDucks@feddit.nl
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    9 days ago

    I wish it was socially acceptable to interest-dump someone and for them to do the same to you.

    Just getting a 5-10 minute lecture deep into a topic that someone is passionate about is fun and educational! Much better than trying to make small talk or talk about the 3 common topics at your workplace (at mine it is local tv, energy spending/taxes, and cars), which is often sports. Then you get to learn about other people’s interests too!

  • Professorozone@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    10 days ago

    When something is taped, of possible, the piece of tape should have one corner folded over a little bit to make it easy to remove the tape.

    • Frezik@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      9 days ago

      Truth. The end stage of Half Life 2 is my example of this. It’s not especially difficult, but grabbing a jackbooted thug with the enhanced gravity gun and throwing them at another jackbooted thug is damn good entertainment.

  • MonkderVierte@lemmy.zip
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    9 days ago

    Pulled pork/beef shouldn’t be allowed. You get the environmental impact of meat and then use a lot of energy to overcook it for hours to a tasteless mush. Use mealworms instead, same result.

  • AceFuzzLord@lemmy.zip
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    10 days ago

    The only good gummy candy brand I have ever tried is Haribo and even then, they need to be chilled in the freezer to make them firm.

    Also, not sure if it’s a hot take on something that doesn’t matter anymore thanks to the current macha craze, but that stuff is absolutely the best when it’s either the flavor of mochi or made straight into a strong, earthy tea and not mixed in another drink.

  • jjjalljs@ttrpg.network
    link
    fedilink
    arrow-up
    0
    ·
    9 days ago

    D&D is not as good as it is popular. It’s a very idiosyncratic game that’s mostly focused on a particular kind of play, but people treat it like it’s a general purpose tool.

    Clearly people can have fun with it, and that’s what really matters. I’m still convinced many of them would have more, easier, cheaper, fun if they picked up a different game.