C tips (again)
Sean Kelly
sean at invisibleduck.org
Sat May 2 12:19:52 PDT 2009
Walter Bright wrote:
> bearophile wrote:
>> The following idioms may be useful as an optional built-in idiom in D
>> programs, to improve debugging:
>> http://users.bestweb.net/~ctips/tip015.html
>
> I clicked on that one at random. I think this is much less of an issue
> with D than with C, because C's memory corruption problems are nearly
> entirely related to its reliance on pointers and manual memory management.
I think a lot of the memory corruption problems with C can also be
attributed to it "standardizing" on delimited strings as well. I find
this aspect of C more frustrating than any other, as it's fundamentally
opposed to how I tend to write code (ie. slice-oriented).
More information about the Digitalmars-d
mailing list