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

Maybe the former method would make more sense to use if it were HasCoordinates and returned a Boolean?

This way you would get a Boolean if the coordinates exist and would not have to perform validation on the out variables.

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