News for hackers. Stuff that matters.
Re:Tell HN: Please don't print –help to stderr in your CLI t... by tremon on Saturday September 30, 2023 @02:18AM (#37713170)
The reason you pipe exceptional events to STDERR [..]

Uh-huh. And then you get developers that do this (from inside a f#@<ing library, of all places):

  FILE *stream = (level == LOGGER_LEVEL_ERROR) ? stderr : stdout;
If it's not an error, it is not exceptional, so it should go to stdout, right? Yay for personal agency!

There are no comments on this comment yet.