TDPL Errata site is down

retard re at tard.com.invalid
Sun Oct 24 14:36:11 PDT 2010


Sun, 24 Oct 2010 14:17:53 -0700, Jonathan M Davis wrote:

> On Sunday 24 October 2010 05:17:30 Joel C. Salomon wrote:
>> Looking through the TDPL errata I came across this:
>> 
>> On 07/26/2010 11:15 AM, Andrej Mitrovic wrote:
>> > Here's some more for the Errata (I've checked against the cached
>> > one):
>> > 
>> > Page 26: "In D, slicing could never occur."
>> > 
>> >     This should probably be "In D slicing, this could never occur."
>> 
>> Actually, this is not talking about D’s (array) slicing but C++’s
>> (object) slicing.  The line should read as is, or as, “In D, such
>> slicing could …”; perhaps with the word “slicing” in quotes to
>> distinguish it from other uses of the word elsewhere.
>> 
>> —Joel
> 
> LOL. Yes, in D, slicing is a _good_ thing, whereas in C++, it's a
> problem to watch out for. Now if only we'd found some cool feature that
> could have been called segmentation fault... ;)

Walter has many times mentioned how segfaults are actually better than 
exceptions. They force you to fix your code and the debugger is halfway 
built in the CPU and operating system.


More information about the Digitalmars-d mailing list