More readable assertions

Assertions, in DragonFly, are places in the code where the programmer lists a condition, and tells the system to panic if the condition doesn’t exist.  It’s a good way to guard against weird situations, when something ends up with a strange value.  Do you actually use them while programming?  Then Adam Hoka’s patch to print file name and line number when the assertion hits will be useful to you.

Posted by     Categories: DragonFly, Goings-on     0 Comments
0 Comments on More readable assertions