Keith Devens .com |
Friday, July 4, 2008 | ![]() |
| "To know what *would* have happened, child?" said Aslan. "No. Nobody is ever told that." – C.S. Lewis (Aslan, in Prince Caspian, Chapter 10) | ||
|
| ← Unescape form-encoded text | The WS tower of Babel → |

Adam Vandenberg (http://adamv.com/) wrote:
Keith Gaughan (http://talideon.com/) wrote:
Amen on the docs, but I'd add that the documentation sucks from a navigation standpoint too. Some of Java's documentation might suck, but at least the navigation makes some kind of sense.
However, the FCL and sundry have more fundamental flaws. By way of demonstration, try calling .ToString() on just about anything. Rather than getting a reasonable stringified version of the object, you just get the cryptic default junk generated by Object's implementation. For instance, does an instance of XmlElement return the XML fragment it represents? Nope.
That's just plain idiotic.
Keith (http://keithdevens.com/) wrote:
Yes! I've been annoyed that most of .NET's classes don't stringify into anything useful.
Adam Vandenberg (http://adamv.com/) wrote:
This could be handy:
Format String 101:
http://blogs.msdn.com/kathykam/archive/2006/03/29/564426.aspx
Feel free to post a comment below. Please see my comment policy.
Formatting Rules (No HTML):
Generated in about 0.212s.
(Used 8 db queries)

Microsoft's documentation sucks, as a first-degree approximation.
Granted that things look different in Windows XP vs. Windows 2000, etc., but the WinForms documentation doesn't even give baseline looks of the different controls. Sure "we all know what a progress bar looks like", but what does it look like when set to Style=Marquee?
Microsoft puts in a lot of effort to get every method, event, and property documented on their .NET classes. Which is like explaining how each phoneme sounds, but then not telling you how to put words into sentances.
The docs for common string formatting codes is unbelievably bad and spread out compared to, say, almost any other C++ printf cheat-sheet I've ever seen.
And so forth!