Closed jasonpfox closed 7 years ago
Thanks, but no. We don't need every possible variation of both functions and methods that do the same thing. The API here is quite large enough.
Fair enough, thanks for quick response.
jpfox@alumni.rice.edu
On Mon, Jul 3, 2017 at 6:31 PM, David Symonds notifications@github.com wrote:
Thanks, but no. We don't need every possible variation of both functions and methods that do the same thing. The API here is quite large enough.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/golang/geo/pull/26#issuecomment-312744008, or mute the thread https://github.com/notifications/unsubscribe-auth/AQY2pupVWP0QuqLzYlcEY4V3EEPQsnq3ks5sKWu0gaJpZM4OMtZL .
Make downstream code more readable:
myPoint := myLatLng.Point() as opposed to myPoint := s2.PointFromLatLng(myLatLng) Same for Point to LatLng. As written, these are covered by the current test cases.