Entry tags:
(no subject)
need to start commenting—and documenting!—my code properly. at least I’ve developed the habit of writing understandable code. at least to me. unlike my notes. ¬_¬
if( ht[key] != null )? (ht being a Hashtable.) you should be using if( ht.ContainsKey( key ) )!nulls in the code: most of them indicate a frightening ignorance—of both the language and the Framework.int.Parse( object.ToString() )s to Convert.ToInt32( object ), and similar conversions. likewise, changing all the C‑style (type)object to Convert.ToType( object ).LiveJournal.PostUpdate() was completely ignoring the journal param. tossing the following block in fixes the problem nicely:if( !journal.Equals( "<default>" ) )
{
body += "usejournal=" + journal + "&";
}
]