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

Excuse me? If it's called Point2D, it must have two coordinates. The type should be called Point and it should have an arbitrary number of coordinates (which seems a bit silly, since a Point2D and a Point3D are different types, as are points and vectors that have exactly the same representation)


I'm just running with the original example, contrived as it may be. Nobody here is actually talking about anything specific to points of any dimension.


And I appreciate your efforts. Thanks.




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

Search: