Hacker News new | ask | show | jobs
by gpderetta 327 days ago
But it can be a bit easier! You could make Square itself an enum class and overload the operators for it directly.