3 ms·
Honestly? Both reek of SRP violation. Why should print_table specifically care about emoji? if needed remove the emoji, then print. if performance/table size
by dahauns 3y ago
Honestly? Both reek of SRP violation.
Why should print_table specifically care about emoji?
if needed remove the emoji, then print. if performance/table size is an issue, working via streams/generators/etc. should be on the (heh) table anyway.
But if you have conceded to being in quick&dir^H^Hpragmatic-land anyway, IMO both can be ok depending on the context.