News for hackers. Stuff that matters.
Re:Ask HN: Favorite pointer tricks in C? by dlsspy on Saturday November 20, 2010 @05:34PM (#1925559)
It's kind of an anti-pattern, but I've found this to actually enhance clarity in a few places:

    int moved = (is_reading ? read : write)(fd, buf, len);

There are no comments on this comment yet.