enforce()?

Alex Makhotin alex at bitprox.com
Wed Jun 16 06:59:27 PDT 2010


Steven Schveighoffer wrote:
>  
> Think of enforce as "throw if"
> 

So why not concatenating the two and rename it to exactly 'throwif'?
Self descriptive is better than cryptic 'enforce'.


-- 
Alex Makhotin,
the founder of BITPROX,
http://bitprox.com


More information about the Digitalmars-d mailing list