• miz [any, any]
    ·
    11 hours 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]
        ·
        10 hours ago

        whoa, whoa. this is getting complicated!

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

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