Friday, April 22, 2011

Take Advantage of Auto-Completion!

I received an email from a co-worker who's getting tired of typing the same code over and over again:
-----
From: ----, ----

Sent: Thursday, April 21, 2011 12:32 PM
To: ****, ****
Subject: HtmlNodeCollection Extension

Got tired of writing

if ( Node == null)
{

}

so I wrote an extension

if (Node.IsNull())
{
}
------ and here's my reply--------

LOL!

Take advantage of auto-completion:

I usually just type:

if(node.E(nu))

which expands to:

if (node.Equals(null))

I like MIchele Malkin's article on 'The Donald'

Donald Trump’s eminent-domain empire

Trump has been wooing conservative activists for months and flirting with a GOP presidential run — first at the Conservative Political Action Conference in Washington and most recently at a tea party event in South Florida. He touts his business experience, “high aptitude” and “bragadocious”deal-making abilities. But he’s no more a standard-bearer of conservative values, limited government and constitutional principles than the cast of “Jersey Shore.”
Read more at:  http://me.lt/9h7p0