Peter Miller wrote: > E.g. libexplain_open is a replacement for strerror after open calls. It > has been suggested that "explain_open" may be a better choice.
The "lib" part is completely redundant, "explain_" would be better. > The other naming knob to twiddle is libexplain_open_or_die that wraps > open and libexplain_open in a single function (and calls > exit(EXIT_FAILURE) for errors). Calling this "open_or_die" would break > the name space cleanliness rule, but the namespace cleanliness would > seems to obfuscate the purpose in this case. Suggestions? Name space cleanliness rules. explain_open_or_die should be it. Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- Everyone seems to assume that the current system in America is capitalism. I beg to differ. True capitalism does not involve false advertising, distribution cartels, or political lobbying for special advantages in the market. How can you call Microsoft or the RIAA capitalist, when their main business is interfering with a free market? Some of us would like to see a *return* to capitalism in this country. - Jim Flynn on Linuxtoday.com _______________________________________________ coders mailing list coders@slug.org.au http://lists.slug.org.au/listinfo/coders