Re: [PATCH 1/7] path.c: implement xdg_config_home()
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 14, 2015, 22:30 UTC
- Message-ID
- <xmqqd2361gx8.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <CAGZ79kaO_1QMMTY0ni9k3hrkrt_PhqRDRzXkhZEiYuJ0EsE9Tw@mail.gmail.com>
Stefan Beller <sbeller@google.com> writes:
Show 5 quoted lines
> On Tue, Apr 14, 2015 at 1:39 PM, Junio C Hamano <gitster@pobox.com> wrote: > >> It is OK to omit the name in the extern declaration here. > > It is OK, but I think this is bad practice.
Take a special note on the word "here", meaning "in this particular case." It is perfectly fine when the meaning of the parameter is clear from its type.
I was assuming that our developers have common sense to disambiguate ambiguous cases, of course ;-)