x.sizeof vs typeid(x)

Alexander Panek alexander.panek at brainsware.org
Fri Feb 8 07:03:32 PST 2008


Sergey Gromov wrote:
> If there is a bug, and I know it's /not/ in the OpenGL sub-system, and I 
> can tell that OpenGL sub-system from the rest of the code, then I don't 
> need to look into it.  On the other hand, if I can't recognize the code, 
> I automatically consider it error prone due to its non-obvious nature.  
> I just have to look into it, to make sure it works.
> 

Uhm.. you consider code error-prone because you can't parse it in your 
head? Wow. Then there's lots of error-prone code out there in other 
languages I don't know! They're all bad and error-prone languages!



More information about the Digitalmars-d mailing list