Probably not a good title to seek upvotes. If it does get upvotes, more programmers get share in your pain 😅

  • Troy
    link
    fedilink
    arrow-up
    24
    ·
    6 hours ago

    Insist they index from 1. Like God and Fortran intended it. ;)

    • deadbeef79000@lemmy.nz
      link
      fedilink
      arrow-up
      3
      ·
      4 hours ago

      Fuck C and it’s lazy shit pointer arithmetic array indexing shortcut. I.e. you just add the index × size(t) to the array pointer.

      Bounds checking? We’ve heard of it.

          • BigDanishGuy@sh.itjust.works
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            2 hours ago

            And sun glasses, don’t forget the aviators.

            While Mr “I can’t code without a garbage collector” is still putting on his backplate of “oh no pointers are bad” and a duck typed full face helmet, to ride his interpreted moped, the big boys, Mr C-ool and Mr ASSembly, are already downing grain alcohol at the finish line.

            But then again I really don’t like to step out of my embedded RTOS bubble. It really depends on what you want to accomplish and how complicated your system is.