Hacker News new | ask | show | jobs
by labster 1855 days ago
A Rectangle is just a complicated Square, so let’s just subclass. That should work out okay.

https://en.m.wikipedia.org/wiki/Circle–ellipse_problem