Elektrine lite

← Feed

@jakobmiksch@mastodon.social

2026-04-01 19:21 UTC

idea regarding #code #review: intentionally adding #bugs into #code to check if the #reviewer discovers them. if the reviewer does not find them, then their #review is questionable. of course the added bugs should be removed before merging ;-) I am wondering if a concept like this already exists ... #codequality #softwareengineering #quality #software #git #pullrequest #mergerequest

Replies (5)

  • @jakobmiksch@mastodon.social 2026-04-04 11:58

    thanks for your thoughts. Indeed I was not planning to do this. It reminded me to chaos engineering just for code review. Of course approaches like this should be agreed on with all devs

    Open ##1814683

  • @EvenRouault@mastodon.social 2026-04-01 20:00

    @jakobmiksch Likely, but always ask for consent beforehand. Realizing you've served as a guinea's pig to someone else social experiment always live a bad taste. Anyway the outcome is known: if you try hard enough, you'll succeed in introducing bugs not found during review. Review is not about preventing all bugs to be introduced but catching at least a few of them..

    Open ##1814687

  • @rkaravia@mastodon.online 2026-04-01 20:11

    @jakobmiksch I only know of a similar concept of a PhD thesis where someone wrote something like "if you have read this far, come ask me for a chocolate bar at the thesis defense". I believe nobody asked for the chocolate...

    Open ##1814690

  • @HaraldKi@nrw.social 2026-04-01 20:26

    @jakobmiksch I thought you put some blatantly silly stuff in, to avoid the more subtle discussions on whether to throw or to log or whether enum or int or whether make it immutable or not ...🤣

    Open ##1814691

  • @sebhans@hachyderm.io 2026-04-02 22:04

    @jakobmiksch My wife has worked as a supermarket test buyer. This means you go shopping and try to sneak as much stuff as possible past the cashier to test if they catch it (hide things in the corners, put expensive wine in a carton of the cheap stuff and so on). So yes, the concept exists. I haven't applied it to pull requests, though.

    Open ##1814693