Sometimes you have to refactor something. It may seem like it works, but the code is horrible-looking and inefficient. Consider for example this gem: No documentation, missing @Override annotation, quadratic blow-up of something that should be linear, unmotivated cloning of an immutable class, over-shadowing of field variables, leading to a clumsy syntax, and a code-structure […]