OT: CS education gone wrong (Was: Re: TDD is BS?)

Andrej Mitrovic andrej.mitrovich at gmail.com
Sat Jun 22 12:12:53 PDT 2013


On 6/22/13, Walter Bright <newshound2 at digitalmars.com> wrote:
> It's wrapped in #if 0 ... #endif ? :-)

Hehe. I should totally use that as an argument in a future interview.
I'll wrap all my coding-answers in '#if 0', and if they're wrong I'll
just say "oh, but this code doesn't *actually* exist!". :p

> The function bodies would be identical - why have two of them?

Yeah nevermind, it's C, I was thinking about C++. Then again D would
blow them both out the water since it has inout.

> Most important? I've never even run across this case.

Ok, maybe not that important. It's likely a rare case.

Btw, does anyone know if the typical memcmp implementation tries to
compare the pointers' addresses first to see if they match?


More information about the Digitalmars-d mailing list