As a medium time Arduino user, and someone who has built hardware based on Arduino, I have NEVER used D0 in a sketch/program.
It doesn't compile in the Arduino IDE. The error is, e.g.
error: 'D0' was not declared in this scope
I can't remember ever seeing any sketches that used that notation, though I haven't read all the examples. To use it, it would have to be #defined as declared somewhere, and I think I'd have noticed that.
mbed does it that way. Maybe you're thinking of that?
Which pin '0' refers to is usually pretty clear from context, e.g. it's used in a 'digital' or 'analog' I/O library call.
The silkscreen on my Arduino Diecimilia numbers the digital pins from 0 to 13.
There is no digital 14 (I was surprised when Maple added it, as that is incompatible with Arduino).
The other two pins on the two 8 pin digital I/O headers is GND and AREF.
In the Arduino library and headers, analogue pin 0 is aliased as digital pin 14, upto analogue pin 5, which is aliased as digital pin 19.
HTH