MatthewRueben / sock-pairing

Try several sock pairing algorithms as an exercise in writing beautiful Java.
MIT License
0 stars 0 forks source link

Clean up the "at the end" pairing algorithm via a method. #13

Closed MatthewRueben closed 2 months ago

MatthewRueben commented 2 months ago

See comment in the file.

MatthewRueben commented 2 months ago

Decided that not using a helper method, although it leaves a larger wall of text, is still readable enough, and dodges needing to pass variables or set them as instance variables.