Proverbs in code

English proverbs represented as code. If you can guess what they are, I must have made them at least somewhat correct:

if (book.page != book.cover) {
  judge(book);
}
if chickens.state == "hatched" {
  return chickens.count;
}
if (bodyPart.isClass(Hand)) {
  if (bodyPart != self.feeder) {
    self.bite(bodyPart)
  }
}
while true {
};
echo("die");
def understandRecursion():
  understandRecursion()
while (self.proficiency(skill) < masterLevel) {
  self.practice(skill);
}
if count = 2 then
  result := "company"
else if count = 3
  result := "crowd";