▲ 293 ▼ Whitespace (programming.dev) submitted 2 years ago by JPDev@programming.dev to c/programmer_humor@programming.dev 59 comments fedilink hide all child comments
[–] Valmond@lemmy.mindoki.com 7 points 2 years ago (2 children) Found the guy that can probably do function pointers! permalink fedilink source parent hideshow 4 child comments replies: [–] SpaceNoodle@lemmy.world 4 points 2 years ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] YaBoyMax@programming.dev 1 point 2 years ago (1 child) KISS, my guy. permalink fedilink source parent hideshow 2 child comments replies: [–] SpaceNoodle@lemmy.world 3 points 2 years 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. permalink fedilink source parent [–] Traister101@lemmy.today 3 points 2 years ago Lol yeah. I don't even really write C++ but I sure as shit know a bunch of syntax and junk haha permalink fedilink source parent
[–] SpaceNoodle@lemmy.world 4 points 2 years ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] YaBoyMax@programming.dev 1 point 2 years ago (1 child) KISS, my guy. permalink fedilink source parent hideshow 2 child comments replies: [–] SpaceNoodle@lemmy.world 3 points 2 years 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. permalink fedilink source parent
[–] YaBoyMax@programming.dev 1 point 2 years ago (1 child) KISS, my guy. permalink fedilink source parent hideshow 2 child comments replies: [–] SpaceNoodle@lemmy.world 3 points 2 years 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. permalink fedilink source parent
[–] SpaceNoodle@lemmy.world 3 points 2 years 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. permalink fedilink source parent
[–] Traister101@lemmy.today 3 points 2 years ago Lol yeah. I don't even really write C++ but I sure as shit know a bunch of syntax and junk haha permalink fedilink source parent