Hacker News new | ask | show | jobs
by make3 916 days ago
OP's code is much easier to understand, though, which is the main (only) purpose of their code
1 comments

Can't argue with that! :-)

For what it's worth, you can keep both, and make parallel vs sequential execution an option, with a boolean flag.

You can also leave the sequential code as a comment explaining what the parallel code does.

Or, if slow execution doesn't bother you, leave it as is.

You're replying to somebody who was arguing for readability being its virtue and you're proposing ... adding options and alternate code paths? :)
Touché. I just updated my comment :-)
Via a boolean parameter, no less.