« The wrong target | Main | More programmer nerdism »

June 19, 2003

Bedtime reading

Tonight I cozied up with the first two chapters of Dive Into Python and also got PyTechnorati working. This is a lead-up to installing TechnoBot, which is written in Python.

[Warning: serious programmer nerdism ahead] I noticed that Mark plays the XML document <==> object instance equivalence game in his unmarshal() function. Very cool. Neither of the C# technorati api implementations I've seen do this, though they could using an XmlSerializer. Instead, they return a string for you to parse. More flexible, but more work. Ho hum. In a neat twist, Python's typing rules allow this all to happen more or less dynamically, whereas in C# you have to define the classes that will hold return data ahead of time.

Posted by Andrew Grumet at June 19, 2003 11:51 PM | TrackBack | Cosmos

Comments
Post a comment









Remember personal info?