Wednesday, August 23, 2006

Writing new code isn't hard as workign with other people code. Humans write wonderfull code lines and sometimes don't bother to think before.

Small example :
public override SiteMapNode RootNode {
get {
SiteMapNode temp = null;
temp = BuildSiteMap();
return temp;
}
}

What was that for ? Whay not just write
get{
return BuildSiteMap();
}


more examples will follow

0 Comments:

Post a Comment

<< Home