When does void make code less readable?

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Mon Feb 25 23:07:40 AEST 1985


> One thing which *can* be very handy is variants of the standard routines
> which are "guaranteed" to work because they abort the program if the
> standard routine underneath returned an error.

I much prefer to have a low-level routine return an indication to its
invoker when it cannot do its function for whatever reason.  Strategy
should be managed at higher levels.



More information about the Comp.lang.c mailing list