This language bar is your friend. Select your favorite languages!

Idiom #59 Write to standard error stream

Print the message "x is negative" to standard error (stderr), with integer x value substitution (e.g. "-2 is negative").

#Edit dateEdit SummaryEditor
👁 Δ 40 2019-02-02, 05:16 [Rust] Fixed explanation Debaran
👁 Δ 39 2019-02-02, 05:16 [Rust] More idiomatic way Debaran
👁 Δ 38 2018-05-27, 20:11 [JS] Variable name x. 2 ways => 2 impls programming-idioms.org
👁 Δ 37 2018-05-27, 20:10 New JS implementation by user [programming-idioms.org] programming-idioms.org
👁 Δ 36 2018-05-21, 22:55 New JS implementation by user [glmdgrielson] glmdgrielson
👁 Δ 35 2018-05-08, 01:16 New Cpp implementation by user [fantasy] fantasy
👁 Δ 34 2018-04-03, 08:25 [Lua] Use x instead of -2 Kng
👁 Δ 33 2017-09-29, 14:58 [Pascal] Comments programming-idioms.org
👁 Δ 32 2017-09-28, 01:21 [Pascal] Edited my comment Slce
👁 Δ 31 2017-09-28, 01:18 New Pascal implementation by user [Slce] Slce
👁 Δ 30 2016-04-07, 07:57 [Lua] added '\n'
👁 Δ 29 2016-04-07, 07:56 New Lua implementation by user [Nepta]
👁 Δ 28 2016-04-05, 04:33 New Erlang implementation by user [elbrujohalcon]
👁 Δ 27 2016-04-05, 04:30 [PHP] No x init needed. Comments.
👁 Δ 26 2016-03-02, 08:56 [PHP] No x init needed. Comments.
👁 Δ 25 2016-03-02, 03:27 New PHP implementation by user [siuv]
👁 Δ 24 2016-02-18, 17:24 Restored version 22
👁 Δ 23 2016-02-18, 16:58
👁 Δ 22 2016-02-17, 20:15 New Ada implementation by user [Smaehtin]
👁 Δ 21 2015-11-30, 12:37
👁 Δ 20 2015-10-29, 14:05
👁 Δ 19 2015-09-04, 17:24
👁 Δ 18 2015-09-04, 17:23
👁 Δ 17 2015-09-04, 15:54
👁 Δ 16 2015-09-03, 16:27
👁 Δ 15 2015-08-23, 10:41
👁 Δ 14 2015-08-22, 21:24
👁 Δ 13 2015-08-22, 10:04
👁 Δ 12 2015-08-22, 09:58
👁 Δ 11 2015-08-20, 16:46
👁 Δ 10 2015-08-20, 11:03
👁 Δ 9 2015-08-20, 11:03
👁 Δ 8 2015-08-20, 11:01
👁 Δ 7 2015-08-20, 11:00
👁 Δ 6 2015-08-19, 18:06
👁 Δ 5 2015-07-31, 20:48
👁 Δ 4 2015-05-06, 21:04
👁 Δ 3 2015-04-14, 21:15
👁 Δ 2 2015-04-14, 21:00
1 2015-04-14, 20:58