• @SpaceNoodle
      link
      410 months ago

      I wrote a couple unholy lines of C++ the other day using the ternary conditional operator to select a class member function to be called with a fixed argument.

      I think my teammates were too scared to call me out on it.

        • @SpaceNoodle
          link
          310 months ago

          It’s actually simpler than doing it the “right” way, but I wanted to see how much I could make C++ pretend it was Python.

    • Traister101
      link
      fedilink
      310 months ago

      Lol yeah. I don’t even really write C++ but I sure as shit know a bunch of syntax and junk haha