• miz [any, any]
    link
    fedilink
    English
    297 months ago

    this is definitely better than having to learn the number of bytes your implementation uses to store an integer and doing some multiplication by five.

        • Kairos
          link
          fedilink
          English
          16
          edit-2
          7 months ago

          There’s no way the post image isn’t joking right? It’s literally a template.

          edit: Type * arrayPointer = malloc(numItems * sizeof(Type)):

          • FunkyStuff [he/him]
            link
            fedilink
            English
            147 months ago

            Yeah lol it does seem a ton of people ITT missed the joke. Understandably since the AI people are… a lot.

    • peeonyou [he/him]
      link
      fedilink
      English
      97 months ago

      who even has time to learn about bytes and bits and bobbles? this is 2024 gotdamit!