by gruseom · 18y ago · 0 comments
"Producing complete and useful" documentation is a huge amount of work - a nontrivial fraction of writing the software in the first place. It gets exponentially harder as the software gets more complicated and crappier.
Actually, "complete documentation" is an oxymoron. The only complete specification of what code does is the code itself, so it will always be possible to find gaps. I'd be interested to know the specific inadequacies being cited here, but don't have time to follow the links. (If anyone else does, please post your findings.)
Most developers find Microsoft's API documentation to be pretty good
As someone who endured it for a long time, I'd vociferously dispute this. Their documentation is wildly uneven. The real problem, though, is that the APIs themselves are mostly terrible - way too complicated and not designed for the programmer who actually has to use them. (Portions of the .NET framework are an exception.)
this is definitely true, but does that somehow mean that bad documentation should be the norm or otherwise excused?
Personally, I'm fine with MS having to lie in (or document every molecule) of the bed they made. The sooner we can all move beyond what they did to our industry the better.
Believe me, if Apple ever got big enough to warrant government inspection, they'd get torn to shreds. Have you ever tried to see how OS X works under the hood? Hooked into the OS at boot level? Tried to modify low-level procedures?
One would imagine such documentation already exists in one form or the other. I suppose their developers get trained somehow other than reading the source. In the end, if it is too hard to provide documentation, they can always open up the small parts of the code that implements such interfaces for others to use.
You're right that the real issue here is that much of this stuff wasn't designed to be documented or published.