← Back to context

Comment by michaelcampbell

18 hours ago

Looks interesting and fun, but in no instance of any C compiler I've come across is the "classic example" of "hello, world" using `fprintf(stderr, ...)`

To each their own I guess.

I give you `if (0 > fdprintf (STDERR_FILENO, ...))` instead.

But on a serious matter, it's a good thing to tell a beginner that diagnostics belong on stderr, not stdout.