It would reduce clutter in the main code. Especially important when simulating and comparing multiple algorithms.