Hacker News new | past | comments | ask | show | jobs | submit login

You're assuming the information being returned is a boolean. As a static typing fanatic, I would not return an int to indicate a boolean result.

  if (0 == number_of_students(context, classroom))



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: