Re: [PATCH 1/2] git-send-email: replace "map" in void context with "for"
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 2, 2021, 21:31 UTC
- Message-ID
- <xmqqo8ew2x1h.fsf@gitster.g>
- In-Reply-To
- <patch-1.3-bea11504a67-20210402T112946Z-avarab@gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 5 quoted lines
> While using "map" instead of "for" or "map" instead of "grep" and > vice-versa makes for interesting trivia questions when interviewing > Perl programmers, it doesn't make for very readable code. Let's > refactor this loop initially added in 8fd5bb7f44b (git send-email: add > --annotate option, 2008-11-11) to be a for-loop instead.
;-)
Will queue. Thanks.