Skip to content

Instantly share code, notes, and snippets.

Created February 25, 2013 20:00
Show Gist options
  • Save anonymous/5032750 to your computer and use it in GitHub Desktop.
Save anonymous/5032750 to your computer and use it in GitHub Desktop.
azend's theory on medical naming schemes
/**
* azend's theory on medical naming schemes
*/
function nameMedicalCondition ( mainSymptom, severity ) {
var name = mainSymptom;
if ( is_int(severity) && severity > 5 + ( Math.floor( Math.rand() * 4 ) - 2 ) ) {
name += 'icul';
}
name += 'itis';
return name;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment