• miz [any, any]
    ·
    1 month 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.

      • miz [any, any]
        ·
        1 month ago

        whoa, whoa. this is getting complicated!

        • Kairos@lemmy.today
          ·
          edit-2
          1 month 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]
            ·
            1 month 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]
      ·
      1 month ago

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