Re: [dev] [PATCH] Change an eprintf to a die to stop child from running its own slideshow

From: Dimitris Papastamos <sin_AT_2f30.org>
Date: Thu, 14 Jan 2016 10:25:43 +0000

On Thu, Jan 14, 2016 at 11:21:00AM +0100, Kamil CholewiƄski wrote:
> > It depends on your background. eprintf() and weprintf() were written by
> > Rob Pike and Kernighan and used in the book "The Practice of Programming".
>
> I see... Principle of least surprise, except it's me who should never be
> surprised. I guess the rest of us get surprised only once.

The e prefix indicates error. This I think is more clear than the BSD approach
of using the x prefix.

wprintf() is taken so it had to be weprintf().
Received on Thu Jan 14 2016 - 11:25:43 CET

This archive was generated by hypermail 2.3.0 : Thu Jan 14 2016 - 11:36:10 CET