assert(false) in release == splinter in eye

bearophile bearophileHUGS at lycos.com
Sun Oct 10 17:15:39 PDT 2010


Tomek S.:

> BTW, does anybody know the reason for the assert(0) infernal syntax?

I think it's a shorcut, to gain a functionality without adopting a specific syntax. An as it very often happens in language design, shortcuts later come back to bite your bum :-)

Bye,
bearophile


More information about the Digitalmars-d mailing list