Created
August 31, 2010 08:59
-
-
Save anelson/558758 to your computer and use it in GitHub Desktop.
Principle of Least Surprise, Kyiv 2010
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// What are the semantics of IsLoggedIn? | |
public int IsLoggedIn(); | |
//Wouldn't this be better? | |
public bool IsLoggedIn(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment