Reality drives me to write less clean code, sorry for mistakenly posting in D.announce

Mike Parker aldacron71 at yahoo.com
Fri Oct 12 18:59:00 PDT 2007


0ffh wrote:
> Mike Parker wrote:
>> Pointer arithmetic in D is a no-no, unless you are using memory 
>> allocated outside of the GC.
> 
> What makes you say that?
> 
> Playing with pointers is perfectly valid and safe in D, as long as
> you keep to the rules in http://www.digitalmars.com/d/garbage.html
> (and currently, in paractice, even quite a bit further)!
> 
> Please, would everyone chip in and try to keep wrong assertions in
> the ng to a minimum, so as not to confuse (other) newcomers!
> 
> Regards, Frank

Yes, yes. I've already posted that I was mistaken about having read it 
in the spec. But I really was convinced I had seen something about this 
in that same page about the GC, the NG, or somewhere. I wasn't making it 
up or intentionally making a 'wrong assertion.'



More information about the Digitalmars-d mailing list