Logo

Programming-Idioms

History of Idiom 123

Idiom #123 Assert condition

Verify that predicate isConsistent returns true, otherwise report assertion violation.
Explain if the assertion is executed even in production environment or not.

#Edit dateEdit SummaryAuthor
👁 Δ 36 2022-03-15, 11:23 [Dart] missing semicolon at the end of statement Manu
👁 Δ 35 2021-08-17, 00:17 [Lisp] isConsistent needs to be function call jasom
👁 Δ 34 2021-08-17, 00:16 New Lisp implementation by user [jasom] jasom
👁 Δ 33 2021-03-26, 18:38 [Rust] Demo: remove clutter programming-idioms.org
👁 Δ 32 2021-03-26, 18:31 [Rust] +DemoURL programming-idioms.org
👁 Δ 31 2021-03-26, 18:28 [Rust] +DocURL programming-idioms.org
👁 Δ 30 2020-12-30, 10:24 Linked to idiom #253 [Print stack trace] programming-idioms.org
👁 Δ 29 2020-12-30, 10:18 +keywords debug testing test programming-idioms.org
👁 Δ 28 2020-12-02, 09:50 [Lua] Add infos about production assert hamgom95
👁 Δ 27 2020-10-24, 14:05 New Groovy implementation by user [vmj] vmj
👁 Δ 26 2020-09-07, 08:16 [C#] 2 ways => 2 impls, see new impl 4116 programming-idioms.org
👁 Δ 25 2020-09-07, 08:15 New C# implementation by user [programming-idioms.org] programming-idioms.org
👁 Δ 24 2020-09-07, 00:22 New C# implementation by user [Kit Grose] Kit Grose
👁 Δ 23 2020-05-29, 14:50 [Lua] Corrected to match the lead paragraph REUSS
👁 Δ 22 2020-05-21, 16:07 [C++] Emphasize in comments programming-idioms.org
👁 Δ 21 2020-05-19, 14:39 New C++ implementation by user [nuraby] nuraby
👁 Δ 20 2020-05-03, 21:31 [Clojure] 2 ways => 2 impls, see new impl 3981 programming-idioms.org
👁 Δ 19 2020-05-03, 21:30 New Clojure implementation by user [programming-idioms.org] programming-idioms.org
👁 Δ 18 2020-04-29, 16:51 New Clojure implementation by user [misha] misha
👁 Δ 17 2019-09-28, 12:22 New C implementation by user [phrank] phrank
👁 Δ 16 2019-09-28, 12:21 New Fortran implementation by user [tkoenig] tkoenig
👁 Δ 15 2019-09-27, 10:49 New Perl implementation by user [daxim] daxim
👁 Δ 14 2019-09-27, 10:06 New Dart implementation by user [cpt.FooBar] cpt.FooBar
👁 Δ 13 2019-09-27, 06:28 New PHP implementation by user [Ayesh] Ayesh
👁 Δ 12 2019-09-27, 00:57 New Haskell implementation by user [jcarr] jcarr
👁 Δ 11 2019-09-26, 22:06 New Ruby implementation by user [pokoika] pokoika
👁 Δ 10 2019-09-26, 18:09 New JS implementation by user [fadamakis] fadamakis
👁 Δ 9 2017-12-29, 15:38 New Lua implementation by user [Tricky] Tricky
👁 Δ 8 2017-10-28, 10:54 New Python implementation by user [Oldboy] Oldboy
7 2016-12-13, 20:55 New Rust implementation by user [sphinxc0re] sphinxc0re