Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Note the explicit change to StudentSearchResult over student there to make your last comment kind of a yes, I agree and that was the intent...

There are many ways that this can be implemented that avoid an if result != null / == no value, often a map suffices.



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

Search: