Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Peaker
on March 26, 2015
|
parent
|
context
|
favorite
| on:
A significant amount of programming is done by sup...
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: