Re: C99 compliance for src/port/snprintf.c

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: C99 compliance for src/port/snprintf.c
Дата
Msg-id dd48e765-9afe-4695-b2f4-f3cc0c1218e0@2ndQuadrant.com
обсуждение исходный текст
Ответ на Re: C99 compliance for src/port/snprintf.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: C99 compliance for src/port/snprintf.c
Список pgsql-hackers

On 08/15/2018 12:17 PM, Tom Lane wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>
>> Personally, I'd prefer to
>> continue avoiding // comments and intermingled declarations of
>> variables and code on grounds of style and readability.
> ... which I agree with.
>
>


A decade or so ago I would have strongly agreed with you. But the 
language trend seems to be in the other direction. And there is 
something to be said for declaration near use without having to use an 
inner block. I'm not advocating that we change policy, however.

cheers

andrew

-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: C99 compliance for src/port/snprintf.c
Следующее
От: Jeff Davis
Дата:
Сообщение: questions about the logical decoding implementation