It is better to have 100 functions operate on one data structure than to have 10 functions operate on 10 data structures.
Alan PerlisEvery program has (at least) two purposes: the one for which it was written and another for which it wasn't.
Alan Perlis