x.sizeof vs typeid(x)

Alexander Panek alexander.panek at brainsware.org
Fri Feb 8 07:48:17 PST 2008


Sergey Gromov wrote:
> Alexander Panek <alexander.panek at brainsware.org> wrote:
>> 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!
> 
> Don't you see the difference between "it is" and "I consider" ?  If I'm 
> searching for a bug, and I don't understand some code, I *must* check 
> it.
> 

Are there bugs in there?



More information about the Digitalmars-d mailing list