Friday, June 3, 2011
Programming Interviews – Techniques & Tips by Gayle Laakmann, ex-Googler
http://blog.interviewstreet.com/2010/10/programming-interviews-techniques-tips-by-gayle-laakmann/
Which answer of a candidate do you think gave you a ‘Wow! This is the candidate I am looking for‘ effect?
I want candidates who are:
* Smart
* Write good code
* Who care about writing clean code
* Write good code
* Who care about writing clean code
Thursday, June 2, 2011
OpenID in ASP.NET MVC3 , DotNetOpenAuth
Extract and Integrate OpenID with MVC3 and Microsoft Membership Provider .
By using DotNetOpenAuth and OpenID-Selector
OpenID Authentication with ASP.NET MVC3 , DotNetOpenAuth and OpenID-Selector - Web Surgeon
By using DotNetOpenAuth and OpenID-Selector
OpenID Authentication with ASP.NET MVC3 , DotNetOpenAuth and OpenID-Selector - Web Surgeon
Wednesday, June 1, 2011
What is NEWSEQUENTIALID()
Get better performance than normal GUID for indexing
http://msdn.microsoft.com/en-us/library/ms189786.aspx
http://msdn.microsoft.com/en-us/library/ms189786.aspx
Code Indentation and Nesting
Code Indentation and Nesting - Speed of Light
The greatest benefit of this style is bailing early. Instead of deeply nesting your code (and thus heavily indenting it), you have simple statements designed to end execution in as few instructions as possible, and designed to be as simple to follow as possible. Consider the examples:
The greatest benefit of this style is bailing early. Instead of deeply nesting your code (and thus heavily indenting it), you have simple statements designed to end execution in as few instructions as possible, and designed to be as simple to follow as possible. Consider the examples:
- (void)doSomethingWithString:(NSString *)s {
if (nil != s) {
if ([s length] > 0) {
NSLog(@"%@", s);
}
}
}
// VS
- (void)doSomethingWithString:(NSString *)s {
if (nil == s)
return;
if (![s length])
return;
NSLog(@"%@", s);
}
Subscribe to:
Posts (Atom)