New implementation

Be concise.

Be useful.

All contributions dictatorially edited by webmasters to match personal tastes.

Please do not paste any copyright violating resource.

Please try to avoid dependencies to third-party libraries and frameworks.

Other implementations
with Ada.Text_IO;
use Ada.Text_IO;
Put_Line (Standard_Error, Integer'Image (X) & " is negative");
#include <stdio.h>
fprintf(stderr,"%d is negative\n",x);
#include <iostream>
std::cerr << x << " is negative" << std::endl;
import std.stdio;
stderr.writeln(x, " is negative");
import "dart:io";
stderr.write("$x is negative");
IO.puts :stderr, "#{x} is negative"
io:format(standard_error, "~p is negative~n", [X]).
import "os"
fmt.Fprintln(os.Stderr, x, "is negative")
import System.IO (hPutStrLn, stderr)
hPutStrLn stderr (show (x) ++ " is negative")
const util = require("util");
console.error(util.format("%d is negative", x));
console.error(x, "is negative");
System.err.format("%d is negative\n",x);
io.stderr:write(string.format("%d is negative\n",x))
$STDERR = fopen('php://stderr', 'w+');
fwrite($STDERR, "{$x} is negative\n");
writeln(StdErr, Format('%d is negative',[-2]));
writeln(StdErr , x , ' is negative');
print STDERR "$x is negative";
import sys
print >>sys.stderr, "%s is negative" % x
import sys
print(x, "is negative", file=sys.stderr)
warn "#{x} is negative"
$stderr.puts "%d is negative" % x
eprintln!("{} is negative", x);