Re:My Favourite Diff
by Cyberdog on Monday April 06, 2020 @03:19AM
(#22791519)
It reduces code duplication at the cost of increasing complexity and error-prone-ness, and there are ways to reduce the duplication. For example, given the following snippets:
Yes, the second one is more verbose and duplicates code, but I think it's also far more clear in terms of intention.
[ Parent
| on HN ]