[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1464228 - in /subversion/trunk/subversion/libsvn_ra_serf: sb_bucket.c util.c

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Fri, 5 Apr 2013 10:20:29 -0400

Guys, we're all overlooking the primary reason to explicitly include the
"(void)": it makes the function feel better.

A function who works hard to do a job only to have some of that effort
ignored could eventually develop issues with self-confidence, ultimately
leading toward a lifestyle full of destructive habits. Such functions are,
as we know from experience in meatspace, rarely as productive as they could
be, and soon become the unwilling targets of whispered dismissals about how
much potential they once held.

Nestled between two parentheticals, with no spaces to separate them (perish
the thought!), that function instead feels the warmth and closelness of his
soft-edged neighbors, the value of his purpose, and the assurance that while
his return value was not needed -- in this instance, at least -- his effort
is nevertheless recognized as having been exerted. And that's comforting.

Let's love our functions.

(void)snuggle(you, me);

-- C-Mike

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development

Received on 2013-04-05 16:21:03 CEST

This is an archived mail posted to the Subversion Dev mailing list.