Logo

Programming-Idioms

History of Idiom 123 > diff from v8 to v9

Edit summary for version 9 by Tricky:
New Lua implementation by user [Tricky]

Version 8

2017-10-28, 10:54:23

Version 9

2017-12-29, 15:38:23

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.

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.

Code
assert(isthisalright,"error, it's not")