Perhaps it's a variant of this fairly common case:
if (a && a->b && a->b->c && ...) ...
There's been talk about introducing a shorthand for that as a "safe" variant of ->.
/ Martin Stjernholm, Roxen IS
Previous text:
2003-09-28 08:09: Subject: zero_type();
I've been doing some calculations on genome mutations and I've been finding myself doing a lot of
if(zero_type(foo) && zero_type(bar) ... && zero_type(gonk)) ...
when checking up on user input that is used to index mappings.
Could you explain some more why you land at testing a lot of zero_types? I didn't quite get the reason...
/ Mirar