▲ 534 ▼ Uncle Bob becoming even worse: (lemmy.world) submitted 2 weeks ago by ZILtoid1991@lemmy.world to c/programmer_humor@programming.dev 226 comments fedilink hide all child comments
[–] HazardousBanjo@lemmy.world 53 points 2 weeks ago (3 children) assert(true); assert(true); assert(true); assert(true); assert(true); permalink fedilink source parent hideshow 6 child comments replies: [–] PattyMcB@lemmy.world 30 points 2 weeks ago (1 child) Have I worked with you before? permalink fedilink source parent hideshow 2 child comments replies: [–] staircase@programming.dev 25 points 2 weeks ago (1 child) assert(true); permalink fedilink source parent hideshow 2 child comments replies: [–] PattyMcB@lemmy.world 12 points 2 weeks ago Dammit... PR rejected Lol permalink fedilink source parent [–] marlowe221@lemmy.world 3 points 2 weeks ago Look at all the pretty green check marks! permalink fedilink source parent [–] RecallMadness@lemmy.nz 2 points 2 weeks ago My favourite (that I saw a human do) was asserting on unconstrained mocks with a typo (so they always asserted true) Hundreds of tests. Not exactly pointless as they did call the code so maybe caught some issues. But we fixed the typo and barely half of them passed. No idea how the software worked, but it did. permalink fedilink source parent
[–] PattyMcB@lemmy.world 30 points 2 weeks ago (1 child) Have I worked with you before? permalink fedilink source parent hideshow 2 child comments replies: [–] staircase@programming.dev 25 points 2 weeks ago (1 child) assert(true); permalink fedilink source parent hideshow 2 child comments replies: [–] PattyMcB@lemmy.world 12 points 2 weeks ago Dammit... PR rejected Lol permalink fedilink source parent
[–] staircase@programming.dev 25 points 2 weeks ago (1 child) assert(true); permalink fedilink source parent hideshow 2 child comments replies: [–] PattyMcB@lemmy.world 12 points 2 weeks ago Dammit... PR rejected Lol permalink fedilink source parent
[–] PattyMcB@lemmy.world 12 points 2 weeks ago Dammit... PR rejected Lol permalink fedilink source parent
[–] marlowe221@lemmy.world 3 points 2 weeks ago Look at all the pretty green check marks! permalink fedilink source parent
[–] RecallMadness@lemmy.nz 2 points 2 weeks ago My favourite (that I saw a human do) was asserting on unconstrained mocks with a typo (so they always asserted true) Hundreds of tests. Not exactly pointless as they did call the code so maybe caught some issues. But we fixed the typo and barely half of them passed. No idea how the software worked, but it did. permalink fedilink source parent