Re:Assert() in the hands of bad coders
by BoorishBears on Tuesday March 28, 2017 @06:41PM
(#13981508)
Indeed I meant false (actually "will always be true" would probably have been easier to understand as well)
I feel that some programmers don't understand the actual semantic meaning of the word "assert", they just use it as an opaque key word meaning "check this", or something.
To me, it should be possible to read an assert almost like English, i.e.
can be read like "assert that the handle isn't invalid", i.e. is valid. Hm. I'm not stating this very clearly, sorry.