Hacker News new | ask | show | jobs
by elteto 1093 days ago
Indeed. I recently found this piece of code:

    if (X) assert(false); // we never do X, ever, anywhere.
Then I look over to the other pane, where I have a different, but related file open:

    if (exact same X) { do_useful_stuff(); }
It got a chuckle out of me.
1 comments

Did you update the comment? :-)
// there are two kinds of mutually exclusive commentors

enum kinds { writers; readers; updaters; }