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

      • miz [any, any]
        ·
        2 months ago

        whoa, whoa. this is getting complicated!

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

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