Skip to content

Instantly share code, notes, and snippets.

@dancinllama
Created January 16, 2015 20:56
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dancinllama/f90d1a21100a81c5caa3 to your computer and use it in GitHub Desktop.
Save dancinllama/f90d1a21100a81c5caa3 to your computer and use it in GitHub Desktop.
Keep thy code stupid simple (KISS) - good example
public boolean isTrue(boolean myBool){
return myBool;
}
public Map<Id,Contact> getContactMap(){
return new Map<Id,Contact>([Select Id From Contact]);
}
@liuzhi1991817
Copy link

public boolean isTrue(boolean mybool){
return myBool
}
public Map<Id,Contact> getContactMap(){
return new Map<Id,Contact>([Select Id From Contact])
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment