Re:PostgreSQL reconsiders its process-based model
by elteto on Monday June 19, 2023 @04:45PM
(#36396236)
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.
Re:PostgreSQL reconsiders its process-based model
by jgilias on Tuesday June 20, 2023 @12:30AM
(#36399732)
Did you update the comment? :-)
Re:PostgreSQL reconsiders its process-based model
by withinboredom on Tuesday June 20, 2023 @02:09AM
(#36400333)
// there are two kinds of mutually exclusive commentors
enum kinds { writers; readers; updaters; }
Outdated comments are often way worse than no comments, because they can give you wrong ideas that aren't true anymore, and send you off in the wrong direction before you finally figure out the comment was wrong.