Thursday, July 31, 2003 - Posts

Kudos to Scott !

Hey i was trying to post something, and when i hit submit, i got an error message. I refreshed the page and guess what ??! DotnetJunkies has been added to Scott's 'Blogs using .Text' menu ! Voila .. The UI started unfolding i was watching it openmouthed ! From the old dotnetjunkies look, this was one major mind blower and that too with everything happening so fast i was ! oh !

I never thought that the look and feel of the site will be this good when i was checking out on how crazy everyone was going in aspnetweblogs ! Like everyone says, i have found myself another reason to keep blogging !

And Donny, thanks for this ! And i noticed that one of my cribs about the category not showing on the post page has been taken care of !

I might have been the last one to appreciate Scott but i really really love it !

Stream inheritance chain .

This is one of my major cribs that i had let settle down for peace of mind a long time back. but then it had risen up when i saw the exact same question in a forum today. Here is the teaser design riddle.

It seems really really odd on seeing the inheritance chain of some of the classes in the System.IO namespace. If you notice, the StreamReader derives from TextReader and StreamWriter from TextWriter. Why is that ?? Typically a stream is a generalised entity and looking from a pure object oriented perspective, the textreader should be the subtype of the streamreader and not the other way around.

Well say that the framework designers had some valid design reason to do that, then why is that the stream serves as the base for all the other streams like FileStream, MemoryStream and BufferedStream ??

hmm .. the major irony is still to come .. Check the XmlTextReader class.. Now according to the synonymity in the name between textreader and xmltextreader, the developer is deceived in assuming that XmlTextReader is the base for XmlReader which is very similar again to the StreamReader ! Well don't hope too much because in reality it is the inverse and the XmlTextReader is the sub type of XmlReader !

I am still grappling to find out the reason for such an implementation ! I have asked in several forums about this but then no one has been able to provide a valid reason ! If someone here or from the microsoft framework design team can enlighten us with the reason then it would be really really helpful !

Link interface 1. (dasBlog)

Hey i don't know how many people have noticed this yet but i checked it out just now. Clement Vasters has been working on an extension of BlogX and the code along with the setup is available here. Has lots of improvements like Trackback, Pingback, Mail notifications, full Blogger/MovableType API support, Comment API support, fully customizable Radio-style templates, Mail-To-Weblog/POP3 with attachment and embedded picture support, web-based DHTML editing, web-based OPML editor, web-based configuration editing, and other goodies.

Definitely a beautiful piece of work !