• @[email protected]
    link
    fedilink
    English
    13
    edit-2
    1 month ago

    I’m so glad he pointed out the compiler optimizing the If statements. A lot of coworkers seem to forget that the compiler is doing a lot of that work for us now, and some of the code becomes unreadable as they try to make it “more efficient.”

    Bro, stop, you can’t beat a machine at machine stuff

  • @inclementimmigrantOP
    link
    English
    81 month ago

    As a C++ programmer myself, this was pretty interesting to see.

  • @Sanctus
    link
    English
    81 month ago

    God damn, my controllers look and function like shit compared to that snippet in the image.

    • @inclementimmigrantOP
      link
      English
      71 month ago

      You know what got me? The consistent inline comments. That’s was so nice to see.